Basic-MERN-Stack-App
Basic-MERN-Stack-App copied to clipboard
A simple MERN Stack App made for practice & learning. CRUD, Authentication & Deployment in MERN.
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:-
- Fork the repo and clone it.
- Switch to
developmentbranch for running in development mode. - Make sure you have
yarnNode.js & MongoDB installed in your system. - [Only once] Run (from the root)
yarn installandcd client && yarn install. - Open two terminal windows (one for running Server and other for the UI).
- Start MongoDB service with
sudo service mongod start. - Run
yarn serverto start the server. By default it will run onport 5000. - For UI run
yarn clientand it will open on a new tab onport 3000. - Go to
http://localhost:3000to 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.