REST API generator with Node.js, Express and Mongoose
bcrypt
version to ^2.0.1
, thanks to @mlevin2 (#178)lodash.merge
instead of Object.assing
on config.js, thanks to @kbzowski (#170);Changed default apiRoot
from /api
to /
Fixed password-reset
tests (#152)
jest
, bcrypt
, rand-token
, nock
, dotenv-safe
);babel-plugin-add-module-exports
dependency;express
and mongoose
from src/config
to src/services
;src/config/index.js
to src/config.js
.npm run build
. It doesn't need to be transpiled anymore. Just deploy the actual code.Changes in https://github.com/diegohaz/generator-rest/commit/cbc828ec28c6f6629ee4acfb1114cf15d9503700:
basic
passport method is now password
;session
is now token
.