fastapi-sqlmodel-arq-backend
CommunityScaffold production-ready async FastAPI backends
System Documentation
What problem does it solve?
Provides a clear, production-oriented blueprint to build or refactor asynchronous backends using FastAPI together with SQLModel and Arq, removing common pitfalls around async database access, background task orchestration, authentication, and migrations.
Core Features & Use Cases
- Asynchronous Persistence Layer: Patterns for SQLModel entities, AsyncEngine/AsyncSession usage, relationships, and typed schemas.
- Background Processing: Integration patterns for Arq workers and Redis-backed task queues to offload long-running operations.
- Authentication & Security: OAuth2 password flow with JWT issuance, Argon2 password hashing, token validation, and current-user dependency examples.
- Operational Guidance: loguru logging conventions, pydantic-settings configuration from environment, and Alembic migration hints plus uv command suggestions.
- Use Case: Ideal for adding async endpoints to an existing monolith or creating a new microservice that requires reliable background tasks, secure auth, and database migrations.
Quick Start
Create an async FastAPI module with SQLModel models and async sessions, implement OAuth2 password flow with JWT and Argon2 hashing, wire an Arq worker backed by Redis for background tasks, adopt loguru for logging, and include Alembic migration hints and uv commands.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fastapi-sqlmodel-arq-backend Download link: https://github.com/SaintFore/OpenCodeSettings/archive/main.zip#fastapi-sqlmodel-arq-backend Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.