A sample laravel 5 app.
create a .env
file for configuration:
DATABASE_URL=postgres://homestead:secret@localhost/homestead
APP_ENV=local
APP_DEBUG=true
APP_KEY=random-32-strings-key
TITLE=url shortener
REDIRECT=https://example.com/
CACHE_DRIVER=file
SESSION_DRIVER=file
Tests are in /tests/
. Run them with vendor/bin/phpunit
.
admin panel: /panel
login: /auth/login
register: /auth/register