vincentporte / fastapi_sqlachemy2_async

FastAPI x sqlAlchemy 2 x postgresql, async mode
MIT License
2 stars 0 forks source link

Welcome to fastapi_sqlachemy2_async 👋

Version GitHub last commit Documentation Maintenance License: MIT GitHub language count GitHub top language GitHub branch checks state

fastapi_sqlachemy2_async, Dockerized Postgres and Poetry

🏠 Homepage

Install

setup env

poetry install;
cp .env.template .env;

setup DB

docker-compose up -d;
poetry shell;
alembic upgrade head

Usage

Spawn in virtualenv

poetry shell;

Run dev server

make dev

Run tests

pytest tests/

Run quality

make quality

Database Migrations

alembic init -t async alembic
alembic revision -m "create table"
alembic upgrade head

Author

👤 Vincent Porte

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Vincent Porte.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

notes