Welcome to the Yii3 Web Application project! 🚀
This repository contains a modern web application built with the Yii3 Framework and Tailwind CSS. It is designed with a Domain-Driven Design (DDD) inspired structure and is fully containerized with Docker.
Detailed documentation is available in the docs/ directory:
- Architecture Overview: Understand the system design, directory structure, and configuration.
- Directory Structure: A map of the codebase.
- Setup Guide: Detailed instructions for setting up the development environment.
- Database Schema: Tables, columns, and relationships.
- CLI Reference: Available console commands.
- Backend: Yii3 Framework (PHP 8.2+)
- Frontend: Tailwind CSS
- Database: MySQL (via
yiisoft/db) - Testing: Codeception
- Infrastructure: Docker & Docker Compose
This project uses a Makefile to simplify common tasks. Ensure you have Docker and Docker Compose installed.
make buildmake upThe application will be available at http://localhost:8080 (default).
make composer installmake yii migrate/up# For development (watch mode)
npm run dev
# For production
npm run build(Note: You might need to run npm commands locally or inside the container via make shell)
Run the test suite:
make testsrc/: Application source code.Web/: HTTP handlers and templates (Feature-based).User/: User domain logic.
config/: Application configuration.docker/: Docker environment configuration.
Mapped by Atlas 📚