|
| 1 | +# Express Typescript example: Build Node.js REST Api in Typescript |
| 2 | +Build Node.js Rest Api example using Express and Typescript that handles GET/POST/PUT/DELETE Http requests. |
| 3 | + |
| 4 | +| Methods | Urls | Actions |
| 5 | +| -------- | ------- | ------- | |
| 6 | +| GET | api/tutorials | get all Tutorials |
| 7 | +| GET | api/tutorials/:id | get Tutorial by id |
| 8 | +| POST | api/tutorials | add new Tutorial |
| 9 | +| PUT | api/tutorials/:id | update Tutorial by id |
| 10 | +| DELETE | api/tutorials/:id | remove Tutorial by id |
| 11 | + |
| 12 | +For more detail, please visit: |
| 13 | +> [Express Typescript example](https://www.bezkoder.com/express-typescript-example/) |
| 14 | +
|
| 15 | +> [Node.js Typescript with MySQL example](https://www.bezkoder.com/node-js-typescript-mysql/) |
| 16 | +
|
| 17 | +Using Sequelize: |
| 18 | +> [TypeScript ORM with MySQL example](https://www.bezkoder.com/typescript-orm-mysql/) |
| 19 | +
|
| 20 | +> [TypeScript ORM with Postgres example](https://www.bezkoder.com/typescript-orm-postgres/) |
| 21 | +
|
| 22 | +## Project setup |
| 23 | +``` |
| 24 | +npm install |
| 25 | +``` |
| 26 | + |
| 27 | +### Run |
| 28 | +``` |
| 29 | +npm run start |
| 30 | +``` |
| 31 | + |
| 32 | +## More Practice |
| 33 | + |
| 34 | +> [Node.js Express File Upload Rest API example](https://www.bezkoder.com/node-js-express-file-upload/) |
| 35 | +
|
| 36 | +> [Server side Pagination in Node.js with Sequelize and MySQL](https://www.bezkoder.com/node-js-sequelize-pagination-mysql/) |
| 37 | +
|
| 38 | +> [Deploying/Hosting Node.js app on Heroku with MySQL database](https://www.bezkoder.com/deploy-node-js-app-heroku-cleardb-mysql/) |
| 39 | +
|
| 40 | +Security: |
| 41 | +> [Node.js Express: JWT example | Token Based Authentication & Authorization](https://www.bezkoder.com/node-js-jwt-authentication-mysql/) |
| 42 | +
|
| 43 | +Associations: |
| 44 | +> [Sequelize Associations: One-to-Many Relationship example](https://www.bezkoder.com/sequelize-associate-one-to-many/) |
| 45 | +
|
| 46 | +> [Sequelize Associations: Many-to-Many Relationship example](https://www.bezkoder.com/sequelize-associate-many-to-many/) |
| 47 | +
|
| 48 | +Fullstack: |
| 49 | +> [Vue.js + Node.js + Express + MySQL example](https://www.bezkoder.com/vue-js-node-js-express-mysql-crud-example/) |
| 50 | +
|
| 51 | +> [Vue.js + Node.js + Express + MongoDB example](https://www.bezkoder.com/vue-node-express-mongodb-mevn-crud/) |
| 52 | +
|
| 53 | +> [Angular 8 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-node-express-mysql/) |
| 54 | +
|
| 55 | +> [Angular 10 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-10-node-js-express-mysql/) |
| 56 | +
|
| 57 | +> [Angular 11 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-11-node-js-express-mysql/) |
| 58 | +
|
| 59 | +> [Angular 12 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-12-node-js-express-mysql/) |
| 60 | +
|
| 61 | +> [Angular 13 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-13-node-js-express-mysql/) |
| 62 | +
|
| 63 | +> [Angular 14 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-14-node-js-express-mysql/) |
| 64 | +
|
| 65 | +> [Angular 15 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-15-node-js-express-mysql/) |
| 66 | +
|
| 67 | +> [Angular 16 + Node.js + Express + MySQL example](https://www.bezkoder.com/angular-16-node-js-express-mysql/) |
| 68 | +
|
| 69 | +> [React + Node.js + Express + MySQL example](https://www.bezkoder.com/react-node-express-mysql/) |
| 70 | +
|
| 71 | +Integration (run back-end & front-end on same server/port) |
| 72 | +> [Integrate React with Node.js Restful Services](https://www.bezkoder.com/integrate-react-express-same-server-port/) |
| 73 | +
|
| 74 | +> [Integrate Angular with Node.js Restful Services](https://www.bezkoder.com/integrate-angular-10-node-js/) |
| 75 | +
|
| 76 | +> [Integrate Vue with Node.js Restful Services](https://www.bezkoder.com/serve-vue-app-express/) |
0 commit comments