The app is run in a docker container. To run make sure docker is installed and running. From the command line execute the following commands:
- git clone https://github.com/Speedrockracer/retention-server.git retention-server
- cd retention-server
- docker run --rm -v $(pwd):/app prooph/composer:7.2 install
- docker run --rm -v $(pwd):/app prooph/composer:7.2 ./vendor/bin/phpunit --testdox --bootstrap vendor/autoload.php app
- docker-compose up
- visit http://localhost:8080 in your browser to see api output
Front end vue app is located here https://github.com/Speedrockracer/retention-frontend.git
The compose up command might take a while the first time. Also the page load time might be a bit slow because of the filewatcher docker uses. Didn't have time to fix that.