Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 942 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 942 Bytes

api.xoren.io

Backend api for xoren.io

Stack (PHART)

Setup

Local development

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

Testing

For testing please use PHPUnit via artisan

 $ docker-compose -f docker-compose.local.yml run --rm laravel php artisan test

Specific Testing

For testing specific test

 $ docker-compose -f docker-compose.local.yml run --rm laravel php artisan test --filter <class> <path>