<VirtualHost *:80>
ServerName voucher.dev
ServerAlias voucher.dev
<Directory /var/www/voucher>
Order allow,deny
Allow from all
</Directory>
CustomLog "/var/www/logs/dev-access_log" combinedmassvhost
ErrorLog "/var/www/logs/dev-error_log"
VirtualDocumentRoot /var/www/voucher/public
</VirtualHost>
git clone https://github.com/SmolyarO/voucher.git
cd /var/www/voucher
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan l5-swagger:publish
You can get API documentation with request/response payloads by http://your.project.url/api/docs. For example: http://voucher.dev/api/docs