Skip to content

Commit

Permalink
Return Endpoint Data
Browse files Browse the repository at this point in the history
  • Loading branch information
moelshenawy committed Oct 29, 2021
1 parent cb21d03 commit 6ab5414
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ app.use(express.static("website"));
app.listen(3000, () => {
console.log("server is runing");
});

app.get("/getData", (req, res) => {
res.send(projectData);
});

0 comments on commit 6ab5414

Please sign in to comment.