fastapi-best-practices
fastapi-backend-base
fastapi-best-practices | fastapi-backend-base | |
---|---|---|
8 | 2 | |
6,969 | 8 | |
- | - | |
6.6 | 10.0 | |
6 months ago | about 1 year ago | |
Python | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastapi-best-practices
- FastAPI Best Practices
-
FastAPI Repository Pattern - cookiecutter template
After some time looking for the best FastAPI structure and getting inspired from existing resources like FastAPI Best practices and FastAPI Layered architecture I created this template.
-
How to build a scalable project file structure for a beginner.
This article helped with getting me started with changing my project's structure: https://github.com/zhanymkanov/fastapi-best-practices#1-project-structure-consistent--predictable
-
The way I build new FastAPI projects
Some people were searching my GitHub profile for project examples after reading the article on FastAPI best practices.
-
FastAPI learner
fastapi-best-practices
fastapi-backend-base
-
ORM for FastAPI+PostgreSQL, Tortoise or Sqlalchemy? what would you choose and why?
Fully agree. I have a production ready FastAPI backend base project OP can use for reference https://github.com/nickatnight/fastapi-backend-base
-
The way I build new FastAPI projects
I did the same a few months ago. Comes with some nice bells and whistles https://github.com/nickatnight/fastapi-backend-base
What are some alternatives?
dispatch - All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!
fastapi-sqlmodel-alembic - Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
fastapi-starter-project - FastAPI Starter Project with SQLModel and Alembic
fastapi-alembic-sqlmodel-async - This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
fastapi-layered-architecture - FastAPI Layered Architecture
fastapi_production_template - FastAPI Project Example with Docker, Postgres & Redis
server-configs-nginx - Nginx HTTP server boilerplate configs
mro - An Object Relational Mapping (ORM) but in reverse, create classes from the database schema not the usual way round. Sometimes referred to as reverse ORM, database introspection and database reflection.
Cookbook - The Data Engineering Cookbook
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
fastapi-ddd-cookiecutter - This project is a backend template for a FastAPI-based application that uses the repository pattern approach to provide an abstraction layer between the business logic and the data access layer. It aims to provide a scalable and maintainable architecture for building web applications.