0df0da4bf7bbe3af8f9c8b96d7b4faeeaf273723
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