The FastAPI Senate Backend is a robust and scalable application designed to track and provide insights into stock trades made by members of the United States Senate and House of Representatives. Built with FastAPI, this backend serves as a reliable source for data regarding the financial activities of elected officials, contributing to transparency and public awareness.
- Real-time Tracking: Monitors stock trades by senators and representatives.
- Data Analysis: Provides tools for analyzing trends and patterns in trading activities.
- API Endpoints: Offers a range of endpoints for accessing and retrieving data.
- Security: Ensures data integrity and protection through advanced security protocols.
- Backend: FastAPI
- Frontend: Remix remix-senate
- Database: sqlite
- Deployment: Linux Debian VM
- Python 3.8+
- FastAPI
- Uvicorn or any ASGI server
- Clone the repository:
git clone https://github.com/haybarcheezy/fastapi-senate-backend.git
- cd fastapi-senate-backend
cd fastapi-senate-backend
- Install the required dependencies:
pip install -r requirements.txt
Run the application using Uvicorn or any ASGI server:
uvicorn main:app --reload
The API will be available at http://localhost:8000
.
Once the server is running, you can view the API documentation and interact with the API endpoints by visiting http://localhost:8000/docs
.