Each package works standalone. Start with one, add more as needed.
from svc_infra import easy_service_app
from svc_infra.auth import setup_auth
from svc_infra.cache import init_cache
app = easy_service_app(name="MyAPI")
setup_auth(app) # OAuth, sessions, MFA
init_cache(url="redis://localhost") # Caching ready
@app.get("/")
async def root():
return {"status": "ok"}Result: You now have a FastAPI app with auth, sessions, and Redis caching. Run uvicorn main:app and visit /docs to see your API.
Not sure where to start? Most projects begin with svc-infra for backend, then add other packages as needed.