This project acts as a demo to test out the MERN stack (MongoDB, Express.js, React, Node.js).
This webapp will allow a user to create and delete goals.
This project was based off the MERN stack video series from Traversy Media
- Run the following commands:
git clone https://github.com/bvsam/mern-demo.git
cd mern-demo
npm install
cd frontend
npm install
- In the mern-demo folder, rename the
.envexample
file to.env
- Replace "mongodb+srv://YOURMONGOURI" with your own URI in the
.env
file to connect to your MongoDB cluster (ex: mongodb+srv://USERNAME:PASSWORD@CLUSTER/COLLECTION?retryWrites=true&w=majority) - Run
npm run dev
in the mern-demo folder to start the app