From ada14c069524cee7a4b949753dbe444cffd98a44 Mon Sep 17 00:00:00 2001 From: mariamheikal <47125583+mariamheikal@users.noreply.github.com> Date: Thu, 14 Feb 2019 00:37:13 +0200 Subject: [PATCH] Update index.js Username and ID added --- server/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 92f8d56..96b6557 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-5263", name: "Mariam Heikal", github_username: "mariamheikal", email: "mariamheikal228@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}`));