Install vendor packages
composer update
Rename .env.example
to .env
and configure the database
DB_CONNECTION=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
Generate laravel app key
php artisan key:generate
Generate JWT key
php artisan jwt:generate
Publish configuration options for laravel/jwt/dingo packages if needed
php artisan vendor:publish --provider="Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider" --tag=config
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\JWTAuthServiceProvider"
php artisan vendor:publish --provider="Dingo\Api\Provider\LaravelServiceProvider"
Migrate the database
php artisan migrate
Run the test
phpunit
Run the server
php artisan ser