diff --git a/README.md b/README.md index d2d5c5a..cfb0762 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,10 @@ Here is a [demonstration video](https://youtu.be/e81rqD94QtM) of the following s ### STEP 1: -Click ["Use this template"](https://github.com/belferink1996/MERN-template/generate) to generate a new repository.
-Then open your terminal and clone your repository: +Click ["Use this template"](https://github.com/belferink1996/MERN-template/generate) 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 +> cd ~/Desktop
git clone https://github.com/[your-user-name]/[your-repo-name].git
@@ -30,9 +29,7 @@ Then open your terminal and clone your repository: Go to your client folder (frontend), and set your workspace: -> cd ~/Desktop/[your-repo-name]/client
-> npm install
-> npm start +> cd ~/Desktop/[your-repo-name]/client
npm install
npm start ``` We're unable to detect target browsers. @@ -45,15 +42,12 @@ Would you like to add the defaults to your package.json? (Y/n) ### STEP 3: -Prepare your MongoDB database ([atlas](https://www.mongodb.com/cloud/atlas), [community]()),
+Prepare your MongoDB database ([atlas](https://www.mongodb.com/cloud/atlas), +[community]()),
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 +> cd ~/Desktop/[your-repo-name]/server
npm install
Set your database within +> `index.js`, then start server: npm start
@@ -66,15 +60,14 @@ Set your database within `index.js`, then start server: ###### Client: -> axios: ^0.21.0     --->     Use the API
-> react: ^17.0.1     --->     UI framework
-> react-dom: ^17.0.1     --->     UI framework
-> react-scripts: ^4.0.1     --->     Quickly launch local service +> axios: ^0.21.0     --->     Use the API
react: ^17.0.1 +>     --->     UI framework
react-dom: ^17.0.1 +>     --->     UI framework
react-scripts: ^4.0.1 +>     --->     Quickly launch local service ###### Server: -> cors: ^2.8.5     --->     Enable HTTP requests
-> dotenv: ^8.2.0     --->     Secure sensitive information
-> express: ^4.17.1     --->     Server app
-> mongoose: ^5.11.8     --->     MongoDB database
-> nodemon: ^2.0.6     --->     Improved local service +> cors: ^2.8.5     --->     Enable HTTP requests
dotenv: ^8.2.0 +>     --->     Secure sensitive information
express: ^4.17.1 +>     --->     Server app
mongoose: ^5.11.8     +> --->     MongoDB database diff --git a/server/package.json b/server/package.json index da135b7..5b7e0a7 100644 --- a/server/package.json +++ b/server/package.json @@ -4,7 +4,7 @@ "main": "server.js", "type": "module", "scripts": { - "start": "nodemon server.js" + "start": "nodemon server.js||node server.js" }, "author": "Ben Elferink", "license": "ISC", @@ -12,7 +12,6 @@ "cors": "^2.8.5", "dotenv": "^8.2.0", "express": "^4.17.1", - "mongoose": "^5.11.8", - "nodemon": "^2.0.6" + "mongoose": "^5.11.8" } }