fastapi-boilerplate VS fastapi-layered-architecture

Compare fastapi-boilerplate vs fastapi-layered-architecture and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
fastapi-boilerplate fastapi-layered-architecture
1 1
880 252
- -
6.7 10.0
16 days ago over 1 year ago
Python Python
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-boilerplate

Posts with mentions or reviews of fastapi-boilerplate. We have used some of these posts to build our list of alternatives and similar projects.
  • [Python] How to implement a transactional decorator in FastAPI + SQLAlchemy - with reviewing other approaches
    1 project | dev.to | 29 May 2023
    from typing import Optional from contextvars import ContextVar from sqlalchemy.ext.asyncio import ( create_async_engine, async_scoped_session, async_sessionmaker, AsyncSession, ) from ..config import config # some hints from: https://github.com/teamhide/fastapi-boilerplate/blob/master/core/db/session.py db_session_context: ContextVar[Optional[int]] = ContextVar( "db_session_context", default=None ) engine = create_async_engine(url=config.DB_URL) def get_db_session_context() -> int: session_id = db_session_context.get() if not session_id: raise ValueError("Currently no session is available") return session_id def set_db_session_context(*, session_id: int) -> None: db_session_context.set(session_id) AsyncScopedSession = async_scoped_session( session_factory=async_sessionmaker(bind=engine, autoflush=False, autocommit=False), scopefunc=get_db_session_context, ) def get_current_session() -> AsyncSession: return AsyncScopedSession()

fastapi-layered-architecture

Posts with mentions or reviews of fastapi-layered-architecture. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-23.

What are some alternatives?

When comparing fastapi-boilerplate and fastapi-layered-architecture you can also consider the following projects:

FastAPI-Production-Boilerplate - A scalable and production ready boilerplate for FastAPI

fastapi-best-practices - FastAPI Best Practices and Conventions we used at our startup

FastAPI-boilerplate - An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.

fastapi-template - FastAPI template

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.

warp_fastapi - Create FastAPI app with warp speed.

python-rest-template - A clean, scalable, i18n ready FastAPI template

FastAPI-template - Feature rich robust FastAPI template.

fastapi-boilerplate - FastAPI REST API pre-configured with a database. This will get you up and running with CRUD operations quickly.

fastapi-react - 🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker