Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial FastAPI Setup for Government Meeting Tracker API #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kaizengrowth
Copy link

@kaizengrowth kaizengrowth commented Mar 13, 2025

This PR implements the initial FastAPI structure for the Government Meeting Tracker application.

I also added a provisional SPEC.md draft with what I understand to be the requirements of this project (pending confirmation with Carlos, John, and Luke)

Changes:

  • Set up the FastAPI application structure with proper routing
  • Created API endpoints for meetings, users, topics, and transcriptions
  • Defined Pydantic data models for all entities
  • Added placeholder service implementations
  • Configured async SQLite database connection for development
  • Updated Poetry dependencies to include FastAPI, SQLAlchemy, and other required packages

To Test:

You can validate that these endpoints work by installing the updated packages with Poetry, and running FastAPI:

PYTHONPATH=. poetry run uvicorn src.main:app --reload --port 8001

Swagger docs for new endpoints:

Once the server is running, you can navigate to: http://127.0.0.1:8001/docs
Then click on the GET /api/meetings endpoint and click "Try it out" followed by "Execute"

Screenshot 2025-03-12 at 22 42 45 Screenshot 2025-03-12 at 22 43 08

Next Steps:

  • Connect @jdungan's code on branch (not yet merged) for WhisperX integration to API endpoints
  • Implement actual database models with SQLAlchemy
  • Complete service implementations with database operations
  • Add Celery task runners for periodically scraping from Tgov site
  • Add user subscription page (frontend UI design needed)
  • Add authentication and authorization for user
  • Develop the push notification system with Twilio

This PR establishes the foundation for the API layer of our application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant