app-api/rest-api

v1.0.41 2024-05-17 20:11 UTC

README

Compare with Bagisto Rest Api original. Here was removed Shop and Sale features

Bagisto REST API is a medium to use the features of the core Bagisto System. By using Bagisto REST API, you can integrate your application to serve the default content of Bagisto.

1. Requirements:

  • Bagisto: v2.0

2. Installation:

To install Bagisto REST API from your console:
composer require app-api/rest-api dev-main
Add below options in the .env file (i.e. http://localhost/public your domain):
SANCTUM_STATEFUL_DOMAINS=http://localhost/public
To configure the REST API L5-Swagger Documentation run below command:
php artisan app-api-rest-api:install

To check the Admin end API documentation:

http://localhost/public/api/admin/documentation
  • You can check the L5-Swagger guidelines too regarding the configuration the API documentation.