First of all
git clone https://github.com/alaminsheikh01/MERN-boilerPlate.git
then go inside folder you can see server
folder and client
folder
then inside server 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 server
first you need to install whole package,
npm install
or npm i
then
npm start
(I have installed nodemon)
That's it for server
then go to the client
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 (: