/rest-api

Primary LanguageTypeScript

Build TODO CRUD rest API with typescript + Express.js + Sequelize + Sqlite3

Improve performance by using express-validator

Video

thumb nail video

Installation

yarn install

Run locally

yarn run dev

Run test

yarn run test

Core functionality

  • set up typescript for dev
  • basic express server with typescript
  • setup database
  • create model
  • create todo
  • read todo with pagination
  • read todo with id
  • update todo
  • delete todo

Test

  • create route
  • read route
  • read by id route
  • update route
  • delete route