Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/modern-python/litestar-sqlalchemy-template

Dockerized web application on LiteStar, SQLAlchemy2, PostgreSQL
https://github.com/modern-python/litestar-sqlalchemy-template

advanced-alchemy alembic asyncio di docker docker-compose ioc-container justfile litestar postgresql sqlalchemy that-depends

Last synced: about 1 month ago
JSON representation

Dockerized web application on LiteStar, SQLAlchemy2, PostgreSQL

Awesome Lists containing this project

README

        

## Async template on LiteStar and SQLAlchemy 2

[![Test Coverage](https://codecov.io/gh/modern-python/litestar-sqlalchemy-template/branch/main/graph/badge.svg)](https://codecov.io/gh/modern-python/litestar-sqlalchemy-template)
[![GitHub issues](https://img.shields.io/github/issues/modern-python/litestar-sqlalchemy-template)](https://github.com/modern-python/litestar-sqlalchemy-template/issues)
[![GitHub forks](https://img.shields.io/github/forks/modern-python/litestar-sqlalchemy-template)](https://github.com/modern-python/litestar-sqlalchemy-template/network)
[![GitHub stars](https://img.shields.io/github/stars/modern-python/litestar-sqlalchemy-template)](https://github.com/modern-python/litestar-sqlalchemy-template/stargazers)

### Description
Production-ready dockerized async REST API on LiteStar with SQLAlchemy and PostgreSQL

## Key Features
- tests on `pytest` with automatic rollback after each test case
- IOC (Inversion of Control) container built on [modern-di](https://github.com/modern-python/modern-di/) - my DI framework
- Linting and formatting using `ruff` and `mypy`
- `Alembic` for DB migrations

### After `git clone` run
```bash
just --list
```