Skip to content

agungjati/sample-rest-api-using-NodeJS-and-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest API using NodeJS

How to run

npm install > npm start

Model :

  • Book
  • Label
  • Role
  • User

Routes :

  • Book :
    • /book = POST
    • /book = GET
    • /book/:bookId = GET
    • /book/:bookId = PUT
    • /book/:bookId = DELETE
    • /book/img/:bookId = GET
  • Label :
    • /label = POST
    • /label = GET
    • /label/:labelId = GET
    • /findlabel = GET
    • /label/:labelId = PUT
    • /label/:labelId = DELETE
  • Role :
    • /role = POST
    • /role = GET
    • /role/:roleId = GET
    • /role/:roleId = PUT
    • /role/:roleId = DELETE
  • User :
    • /user = POST
    • /user = GET
    • /user/:userId = GET
    • /user/:userId = PUT
    • /user/:userId = DELETE
    • /login = POST

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published