fedda7b9329fa99e2d9368f0d2a049c6476eebca
MERN Stack Template
- M = MongoDB
- E = Express.js
- R = React.js
- N = Node.js
How to use this template
STEP 1:
Click "Use this template" to generate a new repository.
Then open your terminal and clone your repository:
cd ~/Desktop
git clone https://github.com/[your-user-name]/[your-repo-name].git
STEP 2:
Go to your client folder (frontend), and set your workspace:
cd ~/Desktop/[your-repo-name]/client
npm install
npm start
STEP 3:
Prepare your MongoDB database,
then go to your server folder (backend), and set your workspace:
cd ~/Desktop/[your-repo-name]/server
npm install
Set your database within index.js, then start server:
npm start