- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field.
In this challenge, you will set up a MongoDB Atlas database and import the required packages to connect to it.
Follow <ahref='https://www.freecodecamp.org/news/get-started-with-mongodb-atlas/'rel='noopener noreferrer'target='_blank'>this tutorial</a> to set up a hosted database on MongoDB Atlas.
Add `mongodb@~3.6.0` and `mongoose@~5.4.0` to the project’s `package.json`. Then, require mongoose as `mongoose` in `myApp.js`. Create a `.env` file and add a `MONGO_URI` variable to it. Its value should be your MongoDB Atlas database URI. Be sure to surround the URI with single or double quotes, and remember that you can't use spaces around the `=` in environment variables. For example, `MONGO_URI='VALUE'`. When you are done, connect to the database using the following syntax: