docker-compose up -d --build
.docker-compose run --rm composer install
docker-compose run --rm key:generate
docker-compose run --rm migrate:refresh --seed
copy env.example and set the correct database credentials
MYSQL_PORT=3308
MYSQL_DB=volopa
MYSQL_USER=volopa
MYSQL_PASSWORD=secret
docker-compose run --rm php ./vendor/bin/phpunit
you need to add GOOGLE_API key to .env (this can be found in the zip file)
Get /api/tickets
Post /api/etickets
Delete /api/ticket/[id]
Get /api/tickets/search/{name}
Get /api/tickets/sort/{filter}
Post /api/tickets/filters/
Built a quick package nour/filter
to filter result by passing any column name to the endpoint.
for phpstorm you will need to map the project src
to /var/www/html
in the server tab