How joelalfred-higgs/ai_researchhub works
This FastAPI service exposes user, note, and category endpoints for managing categorized notes. Requests enter the app, are dispatched to their routers, and use CRUD operations with SQLAlchemy models and a MySQL-backed session. Schemas define request and response shapes. The excerpts show these route and persistence relationships; the README is empty, and no additional product capabilities are documented.
Main entry points: crud.py CRUD operations · main.py FastAPI app · users.py User routes · notes.py Note routes
Components 10
API entry
- FastAPI app
App/main.py
Resource routes
- User routes
App/routers/users.py - Note routes
App/routers/notes.py - Category routes
App/routers/categories.py
Domain and validation
- Request schemas
App/schemas.py - ORM models
App/models.py
Persistence
- CRUD operations
App/crud.py - DB sessions
App/DataBase.py - MySQL database
Other components
- API client
Connections 16
- API client → FastAPI app: sends requests
- FastAPI app → User routes: dispatches to
App/main.py - FastAPI app → Note routes: dispatches to
App/main.py - FastAPI app → Category routes: dispatches to
App/main.py - User routes → Request schemas: validates with
App/routers/users.py - Note routes → Request schemas: validates with
App/routers/notes.py - Category routes → Request schemas: validates with
App/routers/categories.py - User routes → CRUD operations: calls
App/routers/users.py - Note routes → CRUD operations: calls
App/routers/notes.py - Category routes → CRUD operations: calls
App/routers/categories.py - User routes → DB sessions: gets sessions
App/routers/users.py - Note routes → DB sessions: gets sessions
App/routers/notes.py - Category routes → DB sessions: gets sessions
App/routers/categories.py - CRUD operations → ORM models: queries
App/crud.py - CRUD operations → MySQL database: reads and writes
App/crud.py - DB sessions → MySQL database: connects to
App/DataBase.py