API

Overview

API package is located in /platform/packages. It's using Laravel Passport. Learn more here: https://laravel.com/docs/6.x/passport

Install

php artisan passport:install

Generate API document

We're using https://github.com/mpociot/laravel-apidoc-generator to make API document. Run below command to generate docs.

php artisan apidoc:generate

Go to http://your-domain/docs to see API document.