- Run
npm install
in the same directory aspackage.json
. - Start the application with
npm run dev
. - To test your Atlas connection, run
node connection.js
.
- Sign in at mongodb.com and navigate to Atlas
- From overview or database screen, choose Connect > Drivers to copy and paste connection string
- Replace in connection string with your password