From 2744007c24531dcf947aa33a028524cc3b35a6e2 Mon Sep 17 00:00:00 2001 From: Omar-Ayman Date: Sun, 10 Feb 2019 15:27:05 +0200 Subject: [PATCH] Done --- server/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 92f8d56..6893367 100644 --- a/server/index.js +++ b/server/index.js @@ -5,7 +5,8 @@ const students = [ { id: "28-09121", name: "Omar Sherif", github_username: "osheriff", email: "omarr@whatever.com" }, { id: "21-094123", name: "Mathew White", github_username: "matheww", email: "matheww@whatever.com" }, { id: "15-10312", name: "Dom Sundle", github_username: "domss", email: "domss.whatever.com" }, - { id: "7223", name: "Gehad Ismail", github_username: "Gehad93", email: "gehad.ismail@guc.edu.eg" } + { id: "7223", name: "Gehad Ismail", github_username: "Gehad93", email: "gehad.ismail@guc.edu.eg" }, + { id: "40-16882", name: "Omar Ayman", github_username: "Omar-Ayman", email: "o7a9a98@gmail.com"} ]; app.get('/', (request, response) => { @@ -34,4 +35,4 @@ app.get('/api/students/:id', (request, response) => { }); const port = 3000; -app.listen(port, () => console.log(`Listening on port ${port}`)); \ No newline at end of file +app.listen(port, () => console.log(`Listening on port ${port}`));