Pre-requisites
I'll assume that you have Laravel set up to use laravel commands.
Make sure you have SQLite installed.
Basic Steps
First, create your application:
laravel new basic-api
Apply the API
php artisan install:api
Delete the resources
directory
Delete the file routes/web.php
Delete the line web: __DIR__.'/../routes/web.php',
from bootstrap/app.php
No comments:
Post a Comment