Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/modern-python/litestar-sqlalchemy-template
- Owner: modern-python
- License: mit
- Created: 2022-01-19T05:28:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T14:10:27.000Z (about 2 months ago)
- Last Synced: 2024-11-09T15:19:58.058Z (about 2 months ago)
- Topics: advanced-alchemy, alembic, asyncio, di, docker, docker-compose, ioc-container, justfile, litestar, postgresql, sqlalchemy, that-depends
- Language: Python
- Homepage:
- Size: 502 KB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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
```