https://github.com/dvrpc/trail-votes-api
fastAPI backend to vote on trailheads
https://github.com/dvrpc/trail-votes-api
Last synced: 5 months ago
JSON representation
fastAPI backend to vote on trailheads
- Host: GitHub
- URL: https://github.com/dvrpc/trail-votes-api
- Owner: dvrpc
- License: gpl-3.0
- Created: 2022-01-31T14:54:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T06:06:08.000Z (about 2 years ago)
- Last Synced: 2025-10-13T22:22:39.291Z (8 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trail-votes-api
FastAPI backend to vote on trailheads,
powering the [trail-votes-map](https://github.com/dvrpc/trail-votes-map) frontend.
## Development Environment Setup
- Create a Python virtual environment: `python -m venv env`
- Activate the environment: `source env/bin/activate`
- Install requirements: `pip install -r requirements.txt`
## Run the API locally
- `uvicorn app.app.main:app --reload`
## Test Deployment
Continuous deployment is setup using GitHub Actions,
and every push to `main` redeploys the app
to a Digital Ocean droplet running `dokku`.
The documentation can be found
here: https://vote-api.planninglab.org/api/trail-votes