- Authentication experimental with node/expressjs
- References
- Authentication:
jsonwebtoken
,express-jwt
. - Validation:
express-validation
,joi
. - Log:
winston
. - ODM:
mongoose
. - Promise:
bluebird
. - Unit test:
mocha
,supertest
. - Others:
dotenv
,cors
,helmet
...
- Swagger API docs: http://localhost:5000/api/v1/api-docs/
- Swagger setup using:
swagger-ui-express
andswagger-jsdoc
.
- Typescript >= 2.7.
- Install packages npm
$ npm install
- Add file
.env
$ cp .env.sample .env
- Build and run
$ npm run start
- Watch files & auto build
$ npm run watch
MIT