Forked Mern Stack code for the Mern Tutorial
Create the file mern/server/config.env
with your Atlas URI and the server port:
ATLAS_URI=mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/
Start server:
cd mern/server
npm install
npm start
Create the file mern/clint/.env
with your local server port:
REACT_APP_API_URL=http://localhost:5050
Start Web server
cd mern/client
npm install
npm start
Use at your own risk; not a supported MongoDB product