Boilerplate template for node and typescript api's.
Installation
- npm run setup (install nuget packages & typings)
Run
- gulp build (build ts files)
- gulp test (run mocha tests)
- gulp tslint (run tslint)
- gulp watch (watch ts files)
- npm start (start the application)
Features
- Inversion of control using inversify/
- Service api using hapi
- Swagger documentation
- Generic mongoDb and memory repository
Running on port 5000 ex: localhost:5000/docs
Have fun :)