Skip to content

This project you can use before every big project as a starter code.

Notifications You must be signed in to change notification settings

alaminsheikh01/MERN-boilerPlate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a MERN stack boiler plate project for using starter code for any MERN stack project

How to setup this code

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 (: