Skip to content

About

Simple starter project for build rest api, learning, practice Typescript, Nodejs & Expressjs.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Express Typescript Rest API Starter

Dependencies

  • Authentication: jsonwebtoken, express-jwt.
  • Validation: express-validation, joi.
  • Log: winston.
  • ODM: mongoose.
  • Promise: bluebird.
  • Unit test: mocha, supertest.
  • Others: dotenv, cors, helmet...

API Info

Get started

  • Typescript >= 2.7.
  • Install packages npm
$ npm install 
  • Add file .env
$ cp .env.sample .env
  • Build and run
$ npm run start
  • Watch files & auto build
$ npm run watch

TODO

  • Handle mongo validation error, index error.
  • ORM: SequelizeJS.
  • Write definitely type for some libraries which don't have.
  • Testing more.

License

MIT

About

Simple starter project for build rest api, learning, practice Typescript, Nodejs & Expressjs.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages