/express-typescript-example

Express Typescript example - Build Node.js Typescript Rest Api example

Primary LanguageTypeScript

Express Typescript example: Build Node.js REST Api in Typescript

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:

Express Typescript example

Node.js Typescript with MySQL example

Using Sequelize:

TypeScript ORM with MySQL example

TypeScript ORM with Postgres example

Project setup

npm install

Run

npm run start

More Practice

Node.js Express File Upload Rest API example

Server side Pagination in Node.js with Sequelize and MySQL

Deploying/Hosting Node.js app on Heroku with MySQL database

Security:

Node.js Express: JWT example | Token Based Authentication & Authorization

Associations:

Sequelize Associations: One-to-Many Relationship example

Sequelize Associations: Many-to-Many Relationship example

Fullstack:

Vue.js + Node.js + Express + MySQL example

Vue.js + Node.js + Express + MongoDB example

Angular 8 + Node.js + Express + MySQL example

Angular 10 + Node.js + Express + MySQL example

Angular 11 + Node.js + Express + MySQL example

Angular 12 + Node.js + Express + MySQL example

Angular 13 + Node.js + Express + MySQL example

Angular 14 + Node.js + Express + MySQL example

Angular 15 + Node.js + Express + MySQL example

Angular 16 + Node.js + Express + MySQL example

React + Node.js + Express + MySQL example

Integration (run back-end & front-end on same server/port)

Integrate React with Node.js Restful Services

Integrate Angular with Node.js Restful Services

Integrate Vue with Node.js Restful Services