- Clone this repository onto your local machine.
- Install node modules using
npm i
. - (Optional) Install nodemon using
npm i -g nodemon
. - Add a file in the root named
.env
. - Inside
.env
, add this line (insert your MongoDB Atlas URI):MONGODB_URI=<your MongoDB Atlas URI>
- Run the server locally using
npm start
or with nodemon usingnpm run dev
.
m-truong / mongoose_store Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License