Backend api for xoren.io
From the root of the project please copy the .env.example to .env
Please follow these commands
$ docker-compose -f docker-compose.local.yml build
$ docker-compose -f docker-compose.local.yml run --rm laravel composer install && php artisan migrate:fresh --seed
$ docker-compose -f docker-compose.local.yml up -d
For testing please use PHPUnit via artisan
$ docker-compose -f docker-compose.local.yml run --rm laravel php artisan test
For testing specific test
$ docker-compose -f docker-compose.local.yml run --rm laravel php artisan test --filter <class> <path>