Skip to content

Latest commit

 

History

History
 
 

04-store-api

Store API

  • This proyect (as well as the Todo App) uses Mongo DB Atlas, soy you may first want to register here.

Once you've done that, after downloading this repo, and installed the dependencies with:

npm install

you must create a cluster in your Mongo DB Atlas account, and then create a ".env" file in the root folder with the following text:

MONGO_URI = mongodb+srv://<user>:<password>@<yourClusterInfo>.mongodb.net/<databaseName>?retryWrites=true&w=majority

You can watch this if you have any trouble with the Mongo DB Atlas, or this if you have any trouble with the .env file