From 1fa42e54860adc31f0b5f9b72140732764c24be0 Mon Sep 17 00:00:00 2001 From: omneya-hamroush <47506091+omneya-hamroush@users.noreply.github.com> Date: Thu, 21 Feb 2019 14:47:21 +0200 Subject: [PATCH] Update index.js --- server/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/index.js b/server/index.js index 92f8d56..6aed4a0 100644 --- a/server/index.js +++ b/server/index.js @@ -5,7 +5,9 @@ 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: "37-5765", name: "Omnia Hamroush", github_username: "omneya-hamroush", email: "fleur_blanc186@yahoo.com" } + ]; app.get('/', (request, response) => { @@ -34,4 +36,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}`));