- git clone https://github.com/suryo/vis-laravel-api.git
- composer install
- copy .env.example to .env
- php artisan key:generate
- php artisan serve
- dump db_vis.sql
git checkout -b nama_branch
Please Check on http://127.0.0.1:8000/api/documentation
php artisan make:model nama_model -m example php artisan make:model tenant_model -r
php artisan make:resource nama_resource example : php artisan make:resource TenantResource
php artisan make:controller Api\TenantController -r
php artisan route:list
- install composer require "darkaonline/l5-swagger"
- run php artisan l5-swagger:generate
- run php artisan server
- open url -> http://127.0.0.1:8000/api/documentation