Skip to content

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

License

Notifications You must be signed in to change notification settings

ngmikeng/mn-express-typescript-rest-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published