talaviyabhavik25 / async-blogs

FastAPI asynchronous example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Asynchronous API implementation with Python and FastAPI

How to run

Run

$ docker-compose up -d --build

and go to http://127.0.0.1:8000/docs

How to run tests

$ docker-compose exec app python -m pytest app/tests

Update

Starting from version 1.4 SQLAlchemy supports asyncio. This means you don't need externla tools like encode/databases. If you are interesting in new styled SQLAlchemy async example you can check this repo.

About

FastAPI asynchronous example

License:GNU General Public License v3.0


Languages

Language:Python 97.0%Language:Mako 2.0%Language:Dockerfile 0.6%Language:Shell 0.4%