Boilerplate template for node and typescript services.
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 run start (start the application)
- npm run watch (restart the application when files change)
Features
- Project Structure - Feature oriented
- Hapijs - REST Api
- Swagger - documentation
- Jwt - authentication
- Mongoose - MongoDb
- nconf - configurations
- Unit Tests - chai + sinon + mocha
Running on port 5000 ex: localhost:5000/api/docs
Have fun :)