MERN Stack Sample App

MERN stack: React in the presentation layer, Express and Node in the middle or application layer, and MongoDB in the database layer.

Richa Deshpande avatar
Written by Richa Deshpande
Updated over a week ago

Mern Stack code for the Mern Tutorial

How To Run

git clone https://github.com/mongodb-developer/mern-stack-example.git

2. Create the file mern/server/config.env with your Atlas URI and the server port:

ATLAS_URI=<Your Atlas Connection String>

3. Start server:

cd mern/server npm install npm start

4. Start Web server

cd mern/client npm install npm start

Demo

Sample record landing page


โ€‹

Did this answer your question?