Files
mern-template/README.md
2020-12-21 23:59:11 +02:00

981 B

MERN Stack Template



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


STEP 4: CODE !!!