Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/smakosh/beaf-api

Beaf Rest API bootstrapped in 24 hours.
https://github.com/smakosh/beaf-api

digitalocean express jwt mongodb mongoose

Last synced: 12 days ago
JSON representation

Beaf Rest API bootstrapped in 24 hours.

Awesome Lists containing this project

README

        

# Setup

Before running anything locally, create a `.env` file and initialize your env variable like so:

```bash
DB=mongodb://localhost:27017/beaf
SECRET_KEY=NSA
REACT_APP_URL=http://localhost:3000 // when cors is enabled, this will be the only origin to send requests
```

## Docker

```bash
docker-compose up
```

Visit: `localhost:5000`