Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 809 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 809 Bytes

Node challenge for Escalab Academy

Screenshots after action was executed at Postman (just some examples):

Status 200 indicate a successful response

Create a post:

  • Endpoint: /api/post image

List all posts:

  • Endpoint: /api/posts image

Update a post:

  • Endpoint: /api/post/:slug image

Comment a post:

  • Endpoint: /api/:slug/comment image

List all comments from one post:

  • Endpoint: /api/:slug/comments image

Update a comment:

  • Endpoint: /api/:slug/comment/:slug image

Delete a comment:

  • Endpoint: /api/:slug/comment/:slug image