https://github.com/jdegand/hyf-homework-nodejs-3
Github Learning Lab
https://github.com/jdegand/hyf-homework-nodejs-3
github-learning-lab
Last synced: 8 months ago
JSON representation
Github Learning Lab
- Host: GitHub
- URL: https://github.com/jdegand/hyf-homework-nodejs-3
- Owner: jdegand
- Created: 2020-11-15T18:05:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T19:05:01.000Z (over 5 years ago)
- Last Synced: 2025-03-15T20:13:11.738Z (11 months ago)
- Topics: github-learning-lab
- Language: JavaScript
- Homepage: https://lab.github.com/M3kH/create-rest-server-with-nodejs-and-express
- Size: 264 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## REST Express Homework
With this homework we would learn how to create a REST server.
We would create a simple counter to understand the details of persistent data.
## Steps
- Create a Server that would answer to "/" with "Hello World"
- Create an endpoint that would answer to `GET` to `/users` with the list of users
- Create an endpoint to `GET` to `/user/:id`
- Create an endpoint to `POST` to `/user/:id`
- Create an endpoint to `DELETE` to `/user/:id`