chore: update preview
This commit is contained in:
14
.gitignore
vendored
14
.gitignore
vendored
@@ -1,2 +1,14 @@
|
|||||||
/node_modules
|
# dependencies
|
||||||
|
node_modules
|
||||||
|
.pnp
|
||||||
|
.pnp.js
|
||||||
|
|
||||||
|
# production
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.env
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
*.log
|
||||||
|
*.pid
|
||||||
|
|||||||
45
README.md
45
README.md
@@ -1,49 +1,8 @@
|
|||||||
# MERN Stack Template
|
# MERN Stack Template
|
||||||
|
|
||||||
|
<img src='https://raw.githubusercontent.com/BenElferink/mern-template/refs/heads/images/images/mern.jpeg' />
|
||||||
|
|
||||||
- **M** = [MongoDB](https://www.mongodb.com)
|
- **M** = [MongoDB](https://www.mongodb.com)
|
||||||
- **E** = [Express.js](https://expressjs.com)
|
- **E** = [Express.js](https://expressjs.com)
|
||||||
- **R** = [React.js](https://reactjs.org)
|
- **R** = [React.js](https://reactjs.org)
|
||||||
- **N** = [Node.js](https://nodejs.org)
|
- **N** = [Node.js](https://nodejs.org)
|
||||||
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
|
|
||||||
## How to use this template
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
### STEP 1:
|
|
||||||
|
|
||||||
Click ["Use this template"](https://github.com/belferink1996/MERN-template/generate) to generate a new repository.<br />
|
|
||||||
Then open your terminal and clone your repository:
|
|
||||||
|
|
||||||
> cd ~/Desktop <br />
|
|
||||||
> git clone https://github.com/[your-user-name]/[your-repo-name].git
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
### STEP 2:
|
|
||||||
|
|
||||||
Go to your client folder (frontend), and set your workspace:
|
|
||||||
|
|
||||||
> cd ~/Desktop/[your-repo-name]/client <br />
|
|
||||||
> npm install <br />
|
|
||||||
> npm start
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
### STEP 3:
|
|
||||||
|
|
||||||
Prepare your MongoDB database,<br />
|
|
||||||
then go to your server folder (backend), and set your workspace:
|
|
||||||
|
|
||||||
> cd ~/Desktop/[your-repo-name]/server <br />
|
|
||||||
> npm install <br />
|
|
||||||
|
|
||||||
Set your database within `index.js`, then start server:
|
|
||||||
|
|
||||||
> npm start
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
### STEP 4: CODE !!!
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 79 KiB |
BIN
images/preview.png
Normal file
BIN
images/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 271 KiB |
Reference in New Issue
Block a user