Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/smakosh/beaf-api
- Owner: smakosh
- Created: 2018-11-16T20:05:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T06:14:20.000Z (over 3 years ago)
- Last Synced: 2024-10-17T16:08:32.736Z (22 days ago)
- Topics: digitalocean, express, jwt, mongodb, mongoose
- Language: JavaScript
- Homepage: https://api.beafapp.com
- Size: 336 KB
- Stars: 4
- Watchers: 3
- 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`