Skip to content

m8r1x/hapi-typescript-example

 
 

Repository files navigation

hapi-typescript-example Build Status

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 :)

About

⚡ Hapi.Js + Typescript = Awesomeness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 4.1%