From 430cef691082506c7e34dfa43c2c87bb8fbb434d Mon Sep 17 00:00:00 2001 From: AhmedHAbouIsmail <47505765+AhmedHAbouIsmail@users.noreply.github.com> Date: Wed, 13 Feb 2019 12:50:20 +0200 Subject: [PATCH 1/3] Update index.js --- server/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 92f8d56..708a759 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-1893", name: "Ahmed Hisham", github_username: "AhmedHAbouIsmail", email: "ahmed.abouismail@student.guc.edu.eg" } ]; 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}`)); From fe7cb63b4065c90120679b1f75aaefcc2ff90f3e Mon Sep 17 00:00:00 2001 From: AhmedHAbouIsmail <47505765+AhmedHAbouIsmail@users.noreply.github.com> Date: Wed, 13 Feb 2019 12:50:53 +0200 Subject: [PATCH 2/3] Update index.js --- server/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 708a759..c54d8b6 100644 --- a/server/index.js +++ b/server/index.js @@ -5,8 +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: "40-1893", name: "Ahmed Hisham", github_username: "AhmedHAbouIsmail", email: "ahmed.abouismail@student.guc.edu.eg" } + { id: "7223", name: "Gehad Ismail", github_username: "Gehad93", email: "gehad.ismail@guc.edu.eg" }, + { id: "40-1893", name: "Ahmed Hisham", github_username: "AhmedHAbouIsmail", email: "ahmed.abouismail@student.guc.edu.eg" } ]; app.get('/', (request, response) => { From e591df7a55f4865a132c4500b24343893d146490 Mon Sep 17 00:00:00 2001 From: AhmedHAbouIsmail <47505765+AhmedHAbouIsmail@users.noreply.github.com> Date: Wed, 13 Feb 2019 12:54:08 +0200 Subject: [PATCH 3/3] Update index.js --- server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index c54d8b6..87f9b32 100644 --- a/server/index.js +++ b/server/index.js @@ -6,7 +6,7 @@ const students = [ { 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: "40-1893", name: "Ahmed Hisham", github_username: "AhmedHAbouIsmail", email: "ahmed.abouismail@student.guc.edu.eg" } + { id: "40-1893", name: "Ahmed Hisham", github_username: "AhmedHAbouIsmail", email: "ahmed.abouismail@student.guc.edu.eg"} ]; app.get('/', (request, response) => {