Skip to content
Ben Elferink edited this page Dec 30, 2020 · 7 revisions

Welcome to the MERN-template wiki!

This is where you can find useful information developing with the MERN stack!




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 repository's folder, and install all dependecies:

cd ~/Desktop/[your-repo-name]
npm install


STEP 3:

Prepare your MongoDB database (atlas, community).
Then go to your server folder (backend), and set your database within server.js,


STEP 4: CODE !!!