rest-api-nodejs-mongodb
rest-api-nodejs-mongodb copied to clipboard
A boilerplate for REST API Development with Node.js, Express, and MongoDB
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
Previously the Error wasn't handled completely and was passed on. That ended up throwing the entire Error as html to response. Which exposed the source files and line numbers.
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.6 to 5.0.0. Release notes Sourced from bcrypt's releases. v5.0.0 Fix the bcrypt "wrap-around" bug. It affects passwords with lengths >= 255. It is uncommon but it's...
I will add Kubernetes manifests so that it can be used in Kubernetes environment.
Need to add docker support
Bumps [express-jwt](https://github.com/auth0/express-jwt) from 5.3.1 to 6.0.0. Commits 678f3b0 6.0.0 7ecab5f Merge pull request from GHSA-6g6m-m6h5-w9gf 304a1c5 Made algorithms mandatory e9ed6d2 5.3.3 8662579 Make clearer sections in the Readme d3e86bf Update...
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.3.1. Commits e265eae Mark version 7.3.1 50fd1bc Mark version 7.1.0 of acorn-loose ee03be3 Mark version 7.3.0 4adea30 add optional chaining eec9b37 Fix parsing of ambiguous...
We can refactor these if statements with [Guard Clauses](https://learningactors.com/javascript-guard-clauses-how-you-can-refactor-conditional-logic/) https://github.com/maitraysuthar/rest-api-nodejs-mongodb/blob/8191ce980308849b4663b20f63c292dd4664ca01/controllers/AuthController.js#L114-L160
Hi, I have enabled SMTP on GMAIL and trying to use this code but getting this error while using the following API http://localhost:3000/api/auth/register ``` Error: Invalid login: 535-5.7.8 Username and...
https://github.com/maitraysuthar/rest-api-nodejs-mongodb/issues/57 - Issues are solved in this repo. Needed to update packages to run the app properly.