Skip to content

A simple MERN Stack App made for practice & learning. CRUD, Authentication & Deployment in MERN.

Notifications You must be signed in to change notification settings

hemakshis/Basic-MERN-Stack-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic MERN Stack App

Front-End - React + Redux

Back-End - Node.js, Express.js & MongoDB

To run it locally -

Steps to run in development mode:-

  1. Fork the repo and clone it.
  2. Switch to development branch for running in development mode.
  3. Make sure you have yarn Node.js & MongoDB installed in your system.
  4. [Only once] Run (from the root) yarn install and cd client && yarn install.
  5. Open two terminal windows (one for running Server and other for the UI).
  6. Start MongoDB service with sudo service mongod start.
  7. Run yarn server to start the server. By default it will run on port 5000.
  8. For UI run yarn client and it will open on a new tab on port 3000.
  9. Go to http://localhost:3000 to see the application running.

Steps to run in production mode:-

Follow steps 1 & 3-7 for running in production mode. This time go to http://localhost:5000 to see the application running.

About

A simple MERN Stack App made for practice & learning. CRUD, Authentication & Deployment in MERN.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •