Skip to content

feat: FastAPI app configuration#3

Draft
jadegold55 wants to merge 3 commits intomasterfrom
feat/fastapi
Draft

feat: FastAPI app configuration#3
jadegold55 wants to merge 3 commits intomasterfrom
feat/fastapi

Conversation

@jadegold55
Copy link
Copy Markdown
Owner

@jadegold55 jadegold55 commented Apr 11, 2026

Summary

This branch is where the FastAPI application will be configured and built out.

  • Adds the FastAPI app instance in src/polywatch/api/main.py — this is the central entry point for all API routes
  • Adds src/polywatch/logger.py with a structlog-based logging setup (setup_logging) and a module-level log instance ready to use across the app

What's next

Further work on this branch will include:

  • Route definitions and routers
  • Dependency injection setup (DB sessions, auth, etc.)
  • Middleware (CORS, request ID, OpenTelemetry tracing)
  • Application lifespan events (startup/shutdown)

@jadegold55 jadegold55 marked this pull request as draft April 11, 2026 20:37
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