- Create an Express Server and Deploy it on port
8000
. - Create following API's on the server.
- GET
/
returns HTML file. - GET
/users
returns a JSON file - GET
/users/:id
, matches id from user.json file and returns an Object. - POST
/users
updates the user.json file and add new user to it.
- GET
mohak-tripathi / rm-101-node-basics Goto Github PK
View Code? Open in Web Editor NEWThis project forked from riteshf/rm-101-node-basics