Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 730 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 730 Bytes

Usage

Set Environment Variables

Rename the .envexample to .env and add your MongoDB database URI and your JWT secret

Install backend dependencies

npm install

Create React app

npx create-react-app@latest frontend --template redux

If you don't want the browser to open when the React app starts:

.env

BROWSER=none

package.json

"start": "react-scripts start --BROWSER=none"

Install client dependencies

cd frontend
npm install

Run app in development (frontend & backend)

npm run dev

Install React packages

npm i react-router-dom react-icons react-toastify react-modal axios