Uses the following packages:
- JWT-Auth - tymondesigns/jwt-auth
- Dingo API - dingo/api
- Laravel-CORS barryvdh/laravel-cors
- run
composer install
; - run
php artisan migrate --seed
;
The documentation is accessible at: /api/documentation.
You could remove the '/storage/api-docs' folder and regenerate the docs by
running: php artisan l5-swagger:generate
Every time you create a new project starting from this repository, the php artisan jwt:generate command will be executed.
There are some extra options that placed in a config/boilerplate.php file:
sign_up.release_token
: set it totrue
if you want the token right after the sign up process;reset_password.release_token
: set it totrue
if you want the token right after the password reset process;