mongodb-users
My backend for some of my MongoDB projects. Feel free to copy and use!
Quick Notes
- All code in app.js
- All passwords in https requests are called
pass
as the variable name. - All passwords are sha256 encrypted with CSPRNG generated salts before storage in the database.
- Remember to create a
.env
file and add your uri key. Should look something like this:URI=mongodb://<USERNAME>:<PASSWORD>@<MONGO_URL>:<PORT>,<PARAMS>