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: 5 months ago
JSON representation
Beaf Rest API bootstrapped in 24 hours.
- Host: GitHub
- URL: https://github.com/smakosh/beaf-api
- Owner: smakosh
- Created: 2018-11-16T20:05:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T06:14:20.000Z (about 5 years ago)
- Last Synced: 2025-04-03T03:41:30.557Z (about 1 year ago)
- Topics: digitalocean, express, jwt, mongodb, mongoose
- Language: JavaScript
- Homepage: https://api.beafapp.com
- Size: 336 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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`