Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.18 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.18 KB

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')