{"repo":"bagisto/headless-ecommerce","free":true,"listed":false,"github":"https://github.com/bagisto/headless-ecommerce","clone":"git clone https://github.com/bagisto/headless-ecommerce.git","description":"Laravel Headless eCommerce APIs allow you to experience seamless and easily scalable storefront performance. An open-source and GraphQL based Rest API Laravel platform delivering ultra-fast, dynamic, and personalized shopping experiences.","language":"PHP","stars":111,"topics":["jwt","bagisto","cart","laravel","graphql","php","opensource","ecommerce","headless","headless-commerce"],"license":"MIT","category":"ecommerce","readme_excerpt":"Bagisto GraphQL API Bagisto's GraphQL API enables a seamless, headless eCommerce experience built on Laravel. This API delivers ultra-fast, dynamic, and personalized shopping experiences through a scalable, open-source platform. Read our full documentation: Bagisto GraphQL API Docs This API was developed in collaboration with the Ucraft Team . --- Requirements: - Bagisto : ^2.3.0 --- Installation: To install the Bagisto GraphQL API, follow these steps: 1. Install via Composer Run the following command in your terminal to install the GraphQL API package: 2. Run the following commands to complete the setup --- Usage: 1. GraphQL Playground After installation, you can test your API through the GraphQL Playground. Visit: 2. Postman Integration Alternatively, you can test the API using Postman by accessing: --- 3. Authorization To call certain APIs, you need to include x-app-secret-key in the request header. 1. Set the Key The APP SECRET KEY is generated automatically during installation and stored in your .env file: 2. Share Securely Provide this key to the frontend or mobile team as needed. 3. Include in Requests Add the header to your API calls: --- 4. GraphQL Playground Endpoint Configuration Ensure that the GRAPHQL ENDPOINT in your .env file is set to your application's URL followed by /graphiql . For example: 5. Cache Your GraphQL Schema for Better Performance To avoid rebuilding the schema on every request, you can cache it. This improves performance significantly in product","default_branch":null,"files":null,"tree":[],"storefront":"/r/bagisto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bagisto/headless-ecommerce/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}