This boilerplate is a Laravel App that has got the GetCandy API and Sanctum preconfigured out the box.
Copy env.example
to .env
Install dependencies
composer install
Run the installer
php artisan candy:install
Boot up the API
php artisan serve --host=localhost
- Sanctum configured out the box
- Initial
login
andlogout
routes added to authenticate users - CORS set up
- Ready to be used with the hub