express-mongoose-es6-rest-api
express-mongoose-es6-rest-api copied to clipboard
:collision: A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Hello, when I try to change my function using async/await like this: ``` const login = async (req, res, next) => { const user = await User.findOne({ email: req.body.email });...
Hi! nodemon don't restart after any changes inside *.js files I use windows 10 with latest Docker Toolbox and Hyper-V as Docker Machine provider I found a solution here: https://github.com/JacksonGariety/gulp-nodemon/issues/25
Hello, I am finding a way to disable gulp build entirely, is there any ways to do that? Thank you.
I am just curious on why the need to convert it to es5 when node 6.5.5 and up supports 99% percent of the es6 features. thank you!
i think use babel-node is better than gulp-babel here are my package.json 
See https://github.com/WhoopInc/supertest-as-promised/issues/44
That returnnext() give me that error ``` "Error: next is not defined", " at APIError.ExtendableError (/home/carlos/subdev/api-duard/dist/server/helpers/APIError.js:35:11)", " at new APIError (/home/carlos/subdev/api-duard/dist/server/helpers/APIError.js:63:101)", " at /home/carlos/subdev/api-duard/dist/config/express.js:120:20", " at Layer.handle_error (/home/carlos/subdev/api-duard/node_modules/express/lib/router/layer.js:71:5)", " at...
I'm getting this warning on that RETURN ``` Warning: a promise was created in a handler at home/carlos/subdev/api-duard/dist/server/api/usuarios.ctrl.js:24:12 but was not returned from it, see http://goo.gl/rRqMUw at new Promise (/home/carlos/subdev/api-duard/node_modules/bluebird/js/release/promise.js:77:14)...
Why not use the library [Hapi Boom](https://github.com/hapijs/boom) instead of creating your own APIError class ???
I am getting below error while i run `yarn test` command **sh: 1: cross-env: Permission denied error Command failed with exit code 126.** Thanks