Skip to content

DmytryS/inversify-express-example

Repository files navigation

Build Status

inversify-express-example

Boilerplate template for node and typescript api's.

Installation

  • npm install (install packages & typings)

Run

  • npm run build (build ts files)
  • npm test (run mocha tests)
  • npm run lint (run tslint)
  • npm run test:coverage (check tests coverage)
  • npm start (start the application)

Features

  • Inversion of control using inversify/
  • Service api using express
  • Swagger documentation
  • Generic mongoDb

Running on port 3000 ex: localhost:3000/api-docs/swagger

Have fun :)