Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mahabubx7/ts-express-react-mongo


https://github.com/mahabubx7/ts-express-react-mongo

express mern-stack mongodb mongoose react vite

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# MERN-stack app

```json
{
"backend": "express",
"database": "mongodb",
"frontend": "react (v18, vite)",
"runtime": "node.js (with TypeScript)"
}
```

### Run this application

Make sure you have a `.env` file in the root folder. And,

```env
API_PORT=4000
API_HOST=0.0.0.0
MONGODB_URI=mongodb://localhost:27017/ermovied
```

**Now, run this command** [`yarn` is recommended]

```bash
$ yarn start
```

### Build & run in `production` mode

> Just testing, not composed properly

**Build first**

```bash
$ yarn build
```

**Run the app**

```bash
$ yarn prod
```

#### Contributors

=> [@mahabubx7](https://github.com/mahabubx7)