Skip to content

faraz-github/MERN-Stack-Starter-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack Development Starter Template MERN Stack

Usage

To use this starter template you have clone the repo and install the dependencies, after that you can run Backend or Frontend with the given script.

#### Cloning ####
git clone https://github.com/faraz-github/MERN-Stack-Starter-Template.git
#### Installing Dependencies ####
cd root > npm install
cd frontend > npm install
#### Running Application ####
npm run server
npm run client

Scripts Development Mode

With the help of these scripts backend and frontend starts using the devDependency of nodemon also for the Frontend to communicate with the backend port easily we use proxy

BACKEND Package.json
"scripts": {
    "start": "node backend/server.js",
    "server": "nodemon backend/server.js",
    "client": "npm start --prefix frontend"
  },
FRONTEND Package.json
"proxy": "http://localhost:5000",

About

This is a MERN stack template with all the necessary boilerplate code, dependencies and scripts to get you started in no time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors