Skip to content

mongodb-developer/mern-stack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mern-stack-example

Mern Stack code for the Mern Tutorial

CI

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