Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zntb/mern-support-desk


https://github.com/zntb/mern-support-desk

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

## Usage

### Set Environment Variables

Rename the .envexample to .env and add your [MongoDB](https://www.mongodb.com/) database URI and your JWT secret

### Install backend dependencies

```bash
npm install
```

### Create React app

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

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

.env

```bash
BROWSER=none
```

package.json

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

### Install client dependencies

```bash
cd frontend
npm install
```

### Run app in development (frontend & backend)

```bash
npm run dev
```

### Install React packages

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