Skip to content
ride-share-demo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
phpdocker
scripts
src
var
web
.gitignore
README.md
composer.json
composer.lock
docker-compose.yml
phpunit.xml.dist

README.md

CQRS RideSharing demo application

Only for demonstration purposes.

Pre-requisites

  • Docker installed (with memory limit >= 4GB)

Installation

  • Run composer install
  • Run ./scripts/setup.sh

Running

Web

http://localhost:8080/ride/departure/all
http://localhost:8080/ride/register

CLI

docker-compose exec php-fpm php bin/console ride-share:ride:register [departure-lat] [departure-long] [destination-lat] [destination-long] [departure-time]            

Utils

Rebuilding read models

Clear your read models manually and execute the following command:

docker-compose exec php-fpm php bin/console utils:rebuild-read-models
You can’t perform that action at this time.