8e84aa2064312b777b64be66b430609a597e7a78
Cheeper
Cheeper is a Twitter clone used in the book CQRS By Example as a reference implementation.
How to run the application
Requirements
- Just install docker.
- If you want to run PHP locally and leave docker for just external services (mysql, redis, elastic and rabbitmq):
- Make sure to have a local PHP installation. The minimum PHP version needed is 7.4.1.
- Needed PHP extensions: bcmath, pdo_mysql, pcntl, posix, mysqli.
- Make sure to install Symfony CLI.
🐳 Full Docker
This code can run fully on docker. In order to do so just run
make run
To start the development environment. If this is the first time you run the code you will need to run database migrations
make database
And to stop all services just run
make stop
Local Symfony Webserver + Docker for external services
This code can also be run using Symfony Local Webserver.
Description
Cheeper is the reference code implementation of the book "CQRS By Example" – https://leanpub.com/cqrs-by-example/
cqrscqrs-applicationcqrs-patterncqrs-simpledddddd-architectureddd-cqrsddd-eventsddd-exampleddd-patternsddd-sampledomain-driven-designhexagonal-architecture
Readme
95 MiB
Languages
PHP
97.8%
Makefile
1.3%
Twig
0.7%
Dockerfile
0.2%