🇺🇸 English | 🇰🇷 한국어
🚀 Production-ready boilerplates for modern and scalable Python web applications
A collection of 3 Litestar-based project structure boilerplates.
- 🏗️ 3 Architecture Patterns: Support for Layered, DDD-lite, and Feature-based structures
- 🌍 Multilingual CLI: Korean/English support for global development teams
- ⚡ Ready to Use: Complete CRUD, authentication, and testing structure included
- 🔧 Modern Stack: Based on Litestar 2.0, SQLAlchemy 2.0, Pydantic V2
- 📚 Rich Documentation: Detailed guides for each architecture
- 🧪 Test-First: Complete testing environment with pytest
Traditional layered architecture with controller-centric structure
- Clear layer separation (Controller, Service, Repository, Model)
- MVC pattern based
- Simple and easy to understand structure
Lightweight structure applying core concepts of Domain-Driven Design
- Domain-centric modeling
- Aggregates and domain services
- Hexagonal architecture elements
Structure modularized by features
- Complete encapsulation by features
- Vertical slicing
- Easy transition to microservices
# Install CLI tool
pip install -e .
# Create new project
litestar-boilerplate create --type layered --name my-project
litestar-boilerplate create --type ddd-lite --name my-project
litestar-boilerplate create --type feature-based --name my-project
# List templates
litestar-boilerplate list-templates
# Help
litestar-boilerplate --help
This CLI tool supports Korean and English:
# Use Korean
litestar-boilerplate --language ko list-templates
# Use English (default in English environment)
litestar-boilerplate --language en list-templates
# Short option
litestar-boilerplate -l ko create --type layered --name my-app
📋 Multi-language README:
README.md
- 🇺🇸 English (GitHub default)README.ko.md
- 🇰🇷 한국어 (Korean)
- Python 3.11+
- Litestar 2.0+
- SQLAlchemy 2.0+
- Alembic
- Pydantic V2
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# venv\Scripts\activate # Windows
# Install dependencies and dev dependencies
pip install -e ".[dev]"
- Litestar Official Docs - Complete API documentation and guides
- Litestar GitHub - Main repository
- Litestar Fullstack Example - Real production example
- Awesome Litestar - Curated collection of Litestar resources
- Litestar Tutorials - Step-by-step learning guides
- Litestar Examples - Various use case examples
- Litestar CLI - Powerful command-line tool
- Advanced Alchemy - SQLAlchemy extensions
- Litestar Users - User management plugin
For detailed documentation and examples of each structure, refer to the README in the respective directory.
If you'd like to contribute to this project, please create an issue or submit a pull request. All contributions are welcome!
This project is distributed under the MIT License.