Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fastapi-asyncpg-cookiecutter #476

Closed
Closed
@idanfishman

Description

Hi @tiangolo,

I started working with FastAPI 4 months ago it has been so easy to learn, and easy and fun to use.
As a senior python developer once I start a real project I'm looking for some inspiration from other projects layout.
I have tried to find a project layout that meets the following requirements:

  • Uses Async Database connection with SQLAlchemy as the main ORM.
  • Uses Postgres as the Database.
  • Has Support for Async Testing.
  • Has a Production Ready Dockerfile, and Development-Testing Ready Docker Compose file.

Unfortunately I could not find a template that suits my needs, so I decided to create one. I have took some inspiration from this repository, and created what I call the fastapi-asyncpg-cookiecutter which is a simple project template a person may clone and use as the skeleton his async FastAPI project. The project template is Production Ready from day one, I'm using it to develop some micro-services with TDD approach thanks to the support for Async Testing, Async Connection to the Postgres database.

you can find here https://github.com/Idan-Fishman/fastapi-asyncpg-cookiecutter
At this moment as the Async Support has become a core requirement of a project @tiangolo we should give the FastAPI users a great, production ready template to start with.
I think it is about time to renew this repository full-stack-fastapi-postgresql with a fresh project template.

Tell me what you think :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /