This project is a ticketing system for the Louvre museum. The situation is purely fictional.
Entirely made with the Symfony framework, it handles the process of ordering from start to finish, following a specific business model.
You can read more about the constraints and the context here.
- Bootstrap v3
- jQuery
- jQuery UI
- jQuery Payment (client-side credit card formatting)
- Stripe API
Run composer to download the dependencies :
composer install
Create the database :
php bin/console doctrine:database:create
Then, type these instructions (it will load entities and fixtures into the database) :
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load
Now you can execute all the tests at once by typing phpunit in the console.
Or, if you want to run a specific test such as "TarifResolverTest" :
phpunit tests/AppBundle/Service/TarifResolverTest.php
Use the following card number : 4242 4242 4242 4242 with any expiration date and CVC.
