tag-youre-it-backend
fastapi-backend-base
tag-youre-it-backend | fastapi-backend-base | |
---|---|---|
3 | 2 | |
20 | 8 | |
- | - | |
4.7 | 10.0 | |
about 1 year ago | about 1 year ago | |
Python | Python | |
MIT License | - |
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.
tag-youre-it-backend
-
Whats the standard way for interacting with a DB.
I prefer SQLModel for the abstractions and creating repository classes for differing databases. There are limited resources for async, but you can view an example of this here https://github.com/nickatnight/tag-youre-it-backend/blob/main/backend/src/repositories/sqlalchemy.py
-
TagYoureItBotInfo beta release
This is an open source project and you can follow along with the development here https://github.com/nickatnight/tag-youre-it-backend. Would love to get some feedback <3
-
Real world FastAPI backend api
GitHub Repo: https://github.com/nickatnight/tag-youre-it-backend
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?
fastapi-template - FastAPI template
fastapi-best-practices - FastAPI Best Practices and Conventions we used at our startup
pytest-ruff
fastapi-sqlmodel-alembic - Sample FastAPI project that uses async SQLAlchemy, SQLModel, Postgres, Alembic, and Docker.
reddit-streaming - streaming eight subreddits from reddit api using kafka producer & spark structured streaming.
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_production_template - FastAPI Project Example with Docker, Postgres & Redis
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.