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/
PORT=5050
Start server:
cd mern/server
npm install
npm start
Start Web server
cd mern/client
npm install
npm run dev
Use at your own risk; not a supported MongoDB product