scaffolding-fastapi-dapr

Build FastAPI/SQLModel backends with Dapr pub-sub and JWT authentication.

2|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Asmayaseen/hackathon-2 --skill scaffolding-fastapi-dapr-asmayaseen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffolding-fastapi-dapr
Source: https://github.com/Asmayaseen/hackathon-2/tree/main/.claude/skills/scaffolding-fastapi-dapr
Command: npx skills add https://github.com/Asmayaseen/hackathon-2 --skill scaffolding-fastapi-dapr-asmayaseen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Build production-grade FastAPI backends with SQLModel, Dapr integration, and JWT authentication.

Core Features & Use Cases

  • SQLModel-based schemas for database models and API endpoints.
  • Dapr pub/sub integration for event-driven microservices and job scheduling.
  • JWT/JWKS verification and OpenAPI integration for secure APIs.

Quick Start

uv init backend && cd backend uv add fastapi sqlmodel pydantic httpx python-jose uvicorn uv run uvicorn main:app --reload --port 8000 dapr run --app-id myapp --app-port 8000 -- uvicorn main:app

Frequently Asked Questions about scaffolding-fastapi-dapr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a FastAPI backend with Dapr and JWT authentication?

Build a FastAPI backend with Dapr and JWT authentication by using SQLModel for schemas, configuring Dapr pub/sub for event-driven microservices, and implementing JWT/JWKS verification to secure CRUD endpoints on Neon PostgreSQL.

How does Dapr pub/sub integration work with FastAPI for event-driven microservices?

Dapr pub/sub integration with FastAPI works by running the application alongside a Dapr sidecar, enabling event-driven microservices communication and job scheduling while the API handles standard REST endpoints secured by JWT.

Can I use SQLModel with Neon PostgreSQL for FastAPI CRUD endpoints?

Yes, you can use SQLModel with Neon PostgreSQL for FastAPI CRUD endpoints. SQLModel defines database models and API schemas, enabling production-grade data access patterns on Neon PostgreSQL.

What's the best way to secure FastAPI endpoints with JWT/JWKS verification?

Secure FastAPI endpoints with JWT/JWKS verification by integrating token validation into the OpenAPI documentation flow, ensuring only authenticated requests access protected REST API routes.

Do I need Dapr to run a FastAPI application with SQLModel and JWT?

You do not strictly need Dapr for SQLModel and JWT functionality, but Dapr is required for event-driven pub/sub microservices features and job scheduling within this backend configuration.

Why use Dapr with FastAPI instead of standard REST endpoints?

Use Dapr with FastAPI to enable event-driven microservices architecture through pub/sub messaging, adding asynchronous job scheduling capabilities alongside standard synchronous REST endpoints secured by JWT.