Skip to content

aventez/symfony-cqrs-ddd-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony 7 with DDD, CQRS, and Docker

This project demonstrates a Symfony 7 application structured around Domain-Driven Design (DDD) principles and implementing Command Query Responsibility Segregation (CQRS) for efficient data handling. It utilizes Docker for a development-friendly environment.

Features:

  • Calling the NBP API to fetch and update currency exchange rates within the application's domain.
  • CLI interface for interacting with application functions.
  • Enforces a clear separation of concerns using DDD and CQRS patterns.
  • Docker Compose for streamlined development and deployment.

Prerequisites:

  • Docker and Docker Compose
  • MySQL8 (optional)
  • Symfony CLI (optional)
  • Composer (optional)

Architecture

image Credits: Jacobs Data Solutions

Getting started

1. Clone the repository

~/$ git clone https://github.com/aventez/symfony-cqrs-ddd-boilerplate
~/$ cd symfony-cqrs-ddd-boilerplate

2. Initialize containers

~/$ docker compose up -d

3. Install dependencies

~/$ docker exec -it php bash
~/container$ composer install

About

Example for Symfony, CQRS, DDD, CLI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published