This is a simple laravel API example including API versioning from my YouTube tutorial series on how to make an API.
- Clone this repo
- cd into the directory
- Run
composer install
- Run
php artisan key:generate
- Set up your
.env
file with the correct data (don't forget API_DOMAIN) - Run the table migrations
php artisan migrate
- Seed the database
php artisan db:seed
Now you should have the same project I ended the series with.