issues
search
hatchways
/
team-boolean-autocrats
0
stars
0
forks
source link
feat: Setup MongoDB #2
#44
Closed
jedchernandez
closed
3 years ago
jedchernandez
commented
3 years ago
What this PR does (required):
Setup MongoDB that stores user information such as username, email, password, and register date.
Setup environment variables
Revert changes from react-scripts to make the application work
Added rules to prettier/prettier to fix the eslint problem
Screenshots / Videos (required):
test user account was stored in the database:
MongoDB was properly connected after setting up environment variables:
Removed this error by modifying .eslintrc
Any information needed to test this feature (required):
Setting up environment variables
Create a .env file
Copy everything from the sample.env and paste it on the ,env file
Put this on the Mongo_URI: 'mongodb+srv://(username):(password)@prod-azure-website.bqzsw.mongodb.net/(database)?retryWrites=true&w=majority'
Grab the credentials from Slack
Setting up an account
Try creating a user account:
Login to MongoDB Atlas using the aforementioned credentials:
Browse collections from the prod-azure-website cluster:
Check to see if the registered user appears in the database:
Any issues with the current functionality (optional):
N/A
What this PR does (required):
Screenshots / Videos (required):
Any information needed to test this feature (required):
Setting up environment variables
Setting up an account
Any issues with the current functionality (optional):
N/A