- clone this repo
git clone https://github.com/fzldn/lumen-checklists.git cd lumen-checklists
- make database
checklist
- copy
.env.example
to.env
- edit
.env
DB_DATABASE=checklist DB_USERNAME={your_db_user} DB_PASSWORD={your_db_password}
- run composer
composer install
- database migrate and seed
php artisan migrate --seed
- run app
php -S localhost:8000 -t public
Use random apiKey in Header, example:
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImJjMzg2NTBi
- make database
checklist_tests
- run tests
vendor/bin/phpunit