FastAPI async SQLAlchemy full sample project setup

Product Information

Always Free
Enjoy source code projects for free, exclusively for the PieceX community.

Programming Language

User Guide Live Preview

Developer

rglsk
Request Code Sample Direct message

Sep 10, 2022

Public chat

Product Details

Full sample up how to use async SQLAlchemy with FastAPI in asynchronous way.
Using PostgreSQL and Python.
Full description and project available on my blog (Feel feel to purchase it here and support me).

Summary:
Base project showing how to use Python and FastAPI web framework using asyncio. 
Recently SQLAlchemy allowed to use the async ORM which is a perfect match with FastAPI.

FastAPI great dependency injection and it's usage to create a session per request improves the performance and implementation.

Dependencies:
* Python 3.9 (FastAPI, poetry)

* Docker

* PostgreSQL

* SQLAlchemy 1.4

* docker compose setup
* Python 3 (FastAPI) setup
* connection with PostgreSQL
* usage of SQLAlchemy 1.4
* Domain Driven Design and repository pattern

Price Information

No available data

Limited Preview Only


Real Product Contains All Files And Full Code

Check dependencies

See product external dependencies

Randomly Selected Sample File

Project File Statistics

Hierarchy

Choose a sample file
X

Stay in touch

  • Get Practical Tips For Business and Developers.
  • Learn about PieceX Community Needs for Source Code Projects.
  • Be the First to Know PieceX Newest Free Community Code Projects.
PieceX Logo