Repository navigation
MongoDB Atlas
parfei edited this page Apr 11, 2021
·
5 revisions
- Create a
.envfile in thebackendfolder - Sign up for a free MongoDB Atlas account
- Create a new project
- Create a Cluster
- Choose a Free Tier region
- Choose a M0 Sandbox
- Set Network Access to be 0.0.0.0/0
- Create a new User and give them Read/Write/Admin permissions
- Find the connection URI string:
- Clusters
- Connect
- Connect your application
- Change the
user:and the<password>to match your User you just created
- Copy the connection URI into
.envwithATLAS_URI=<connection string> - Make sure to add the appropriate
SESSION_EXPIRYin.env, see https://github.com/we-are-number-1/yumble/wiki/Yumble-Architecture-&-Design#database---mongodb
And if you want, get https://docs.mongodb.com/manual/administration/install-community/ ! It will be very handy (and much less laggier than the browser version) when you are debugging.