Created by: Andrew Chen Wang
Created on: 23 June 2021
This Starlette app, given geographic coordinates, gets a user which federal district they're in. Users can also find their representative through here.
Install: pip install -r requirements/local.txt
Run: uvicorn src.app:app
I designed this quick web for the Hear Ye app. This repository is licensed under Apache 2.0. You can view the full license in the LICENSE file.
This app also uses Andrew-Chen-Wang/district-autoupdate and the unitedstates GitHub organization (they are not affiliated with the United States government) to provide this data. Really appreciate it!
- Automate deployment along with cron job
- Add throttling by IP address. It's really not necessary for an attacker to come unless they have the sole mission of ruining the server.