Skip to content

Latest commit

 

History

History

Readme.md

Pure Node.js REST API application


Small REST-service to practice creating REST service without Express, Nest or similar library.


Technologies:


Routes:

  • /posts
    • GET - receive posts list
    • POST - create a new post (JSON body { name: string, description: string})
  • /posts/{id}
    • GET - get post by id
    • PUT - update post
    • DELETE - remove post by id from database