BMAD-METHOD/.claude/rules/python-fastapi-scalable-api.../fastapi-backend-conventions...

9 lines
437 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: Defines conventions specific to FastAPI usage in the backend.
globs: backend/src/**/*.py
---
- Follow RESTful API design principles.
- Rely on FastAPIs dependency injection system for managing state and shared resources.
- Use SQLAlchemy 2.0 for ORM features, if applicable.
- Ensure CORS is properly configured for local development.
- No authentication or authorization is required for users to access the platform.