lhmoraes / scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/docs

Have fun :)

About

License:MIT License


Languages

Language:TypeScript 95.4%Language:JavaScript 4.6%