Skip to content

This is an example of a complete API REST with node, mongoose and express

License

Notifications You must be signed in to change notification settings

peretch/complete_API_REST_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

complete_API_REST_node

This is an example of NodeJS with mongoose

Included packages

  1. expressjs/express
  2. remy/nodemon
  3. expressjs/body-parser
  4. expressjs/jwt

Methods available

  1. /teams [GET]
  2. /teams/:teamId [GET]
  3. /teams [POST]
  4. /teams/:teamId [DELETE]
  5. /teams/:teamId [PATCH]
  6. /goals/ [GET]
  7. /goals/ [POST]
  8. /goals/:goalId [DELETE]
  9. /goals/:goalId [PATCH]

Instalation

  1. npm install

Initialize on port 8080

  1. npm start

Useful information

  1. Object - JavaScript | MDN - Useful constructor with many methods to manipulate objects in JavaScript.
  2. Expressions and operators - JavaScript | MDN - List of JavaScrtipt expressions (example: 'function', 'this', 'class') and operators (example: '+', '-', 'delete', 'typeof')

About

This is an example of a complete API REST with node, mongoose and express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published