[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I have started a Mongoose based application that is pretty much based on the mongoose demo from the documentation.
Unfortunately I am unable to get the two endpoints on my application ([GET / POST] /api/1.0/role) to return anything. The GET endpoint just times out whist the POST endpoint will either timeout if something is created or will return a 500 error and will output an unhandled promise error if something goes wrong (such as a duplicate entry)
Minimal reproduction of the problem with instructions
After cloning, run npm run api:start and use something like Postman to hit http://localhost:8080/api/1.0/role with a POST request with the following payload;
I'm submitting a...
Current behavior
I have started a Mongoose based application that is pretty much based on the mongoose demo from the documentation.
Unfortunately I am unable to get the two endpoints on my application ([GET / POST] /api/1.0/role) to return anything. The GET endpoint just times out whist the POST endpoint will either timeout if something is created or will return a 500 error and will output an unhandled promise error if something goes wrong (such as a duplicate entry)
Minimal reproduction of the problem with instructions
You can find the repo at https://bitbucket.org/mogusbi/breeze-bb/
After cloning, run
npm run api:start
and use something like Postman to hit http://localhost:8080/api/1.0/role with a POST request with the following payload;Environment