First of all
git clone https://github.com/alaminsheikh01/MERN-boilerPlate.git
then go inside folder you can see backend
folder and frontend
folder
then inside backend folder make a file called .env
NODE_ENV = development
PORT = 8000
CLIENT_URL = http://localhost:3000
DATABASE = 'YOUR DATABASE URL'
JWT_SECRET = 12345
then run backend
first you need to install whole package,
npm install
or npm i
then
npm start
(I have installed nodemon)
That's it for backend
then go to the frontend
folder
first you need to install whole package
npm install
then
npm start
Thats it<:
Happy coding
note: if you face any problem then please contact with me or make a issue.
Thank you (: