- Get Request all posts (http://localhost:8080/api/post/)
- Post Request (http://localhost:8080/api/post/)
- Get one Post (http://localhost:8080/api/post/:id)
- Put Request (http://localhost:8080/api/post/:id)
- Delete Request (http://localhost:8080/api/post/:id)
- Get Request all rating using post id (http://localhost:8080/api/rating/:id)
- Post Request for create a new rating (http://localhost:8080/api/rating/:id
- Get one rating (http://localhost:8080/api/rating/:id)
- Put Request (http://localhost:8080/api/rating/:id)
- Delete Request (http://localhost:8080/api/rating/:id)
cd NodeCrud
npm i
node server.js