From e53b4362ebfe54427fece25a86ef2dd36c7261c3 Mon Sep 17 00:00:00 2001 From: HassanOkasha <47497106+HassanOkasha@users.noreply.github.com> Date: Thu, 21 Feb 2019 05:09:23 +0200 Subject: [PATCH] Add name-Task1 --- server/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 92f8d56..2ffe6f6 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-509", name: "Hassan Okasha", github_username: "HassanOkasha", email: "hassanokasha@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}`));