Build Node.js Rest Api example using Express and Typescript that handles GET/POST/PUT/DELETE Http requests.
Methods | Urls | Actions |
---|---|---|
GET | api/tutorials | get all Tutorials |
GET | api/tutorials/:id | get Tutorial by id |
POST | api/tutorials | add new Tutorial |
PUT | api/tutorials/:id | update Tutorial by id |
DELETE | api/tutorials/:id | remove Tutorial by id |
For more detail, please visit:
Using Sequelize:
npm install
npm run start
Security:
Node.js Express: JWT example | Token Based Authentication & Authorization
Associations:
Fullstack:
Integration (run back-end & front-end on same server/port)