This is a fullstack MERN (MongoDB, Express, React, Node) application template. Follow the scripts below to get your template running. The files in the root source folder have comments about structuring the back-end code.
Install backend dependencies
npm i
You will need to create a defualt.json
file in config
folder and insert
{
"mongoURI": "your mongoDB uri",
"jwtSecret": "secret"
}
To only run backend server
npm run server
Install frontend dependencies
npm run clientinstall
npm run dev