Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connecting our backend to our cloud db #14

Open
phill52 opened this issue Apr 22, 2023 · 0 comments
Open

connecting our backend to our cloud db #14

phill52 opened this issue Apr 22, 2023 · 0 comments

Comments

@phill52
Copy link
Owner

phill52 commented Apr 22, 2023

the code should connect to our actual db on cloud.mongodb.com i invited yall to. if you go to cluster, then connect, you can find instructions on how to connect to it. make sure you use environment variables and don't put the actual link or password in the repo. its pretty easy, just create a .env file in the server, install the dotenv in there, and follow instructions here for using environment variables https://www.npmjs.com/package/dotenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant