mern-stack-example
mern-stack-example copied to clipboard
Mern Stack code for the Mern Tutorial
mern-stack-example
Mern Stack code for the Mern Tutorial
How To Run
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
Disclaimer
Use at your own risk; not a supported MongoDB product