Skip to content

A Starlette server allowing you to find your federal, Congressional district and representatives!

License

Notifications You must be signed in to change notification settings

Hear-Ye/find-your-district-and-representatives

Repository files navigation

Find Your District + Representatives

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.


Usage

Install: pip install -r requirements/local.txt

Run: uvicorn src.app:app


License

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!


TODOs

  • 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.

About

A Starlette server allowing you to find your federal, Congressional district and representatives!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages