fastapi-rest-api-skill
SKILL.md
FastAPI RESTful API Builder Skill
This skill helps you build robust and scalable RESTful APIs using FastAPI. It provides a boilerplate project and documentation on best practices.
Quickstart
To create a new FastAPI project, copy the boilerplate project from the assets/fastapi-boilerplate directory.
cp -r assets/fastapi-boilerplate /path/to/your/new/project
This boilerplate includes:
- A recommended project structure with
app/routers,app/models,app/schemas, andapp/services. - A working example of a CRUD API for an
itemsresource. - SQLAlchemy integration with a SQLite database.
- Pydantic models for request and response validation.