{"id":14556700,"url":"https://github.com/bagisto/headless-ecommerce","last_synced_at":"2025-05-16T04:04:53.878Z","repository":{"id":39332693,"uuid":"339950437","full_name":"bagisto/headless-ecommerce","owner":"bagisto","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.","archived":false,"fork":false,"pushed_at":"2025-05-09T08:03:44.000Z","size":2470,"stargazers_count":89,"open_issues_count":25,"forks_count":63,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-09T09:22:35.463Z","etag":null,"topics":["bagisto","cart","ecommerce","graphql","graphql-api","headless","headless-commerce","jwt","laravel","opensource","php"],"latest_commit_sha":null,"homepage":"https://bagisto.com/en/headless-ecommerce/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bagisto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-18T05:55:14.000Z","updated_at":"2025-05-09T08:03:48.000Z","dependencies_parsed_at":"2023-11-06T09:27:00.612Z","dependency_job_id":"2b02faed-fb10-4ac2-a36f-52c0b7caf1df","html_url":"https://github.com/bagisto/headless-ecommerce","commit_stats":{"total_commits":443,"total_committers":16,"mean_commits":27.6875,"dds":0.7200902934537246,"last_synced_commit":"d0b32852b0c465ff1fcad84cdcf07c988fead5ef"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Fheadless-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Fheadless-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Fheadless-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Fheadless-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bagisto","download_url":"https://codeload.github.com/bagisto/headless-ecommerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bagisto","cart","ecommerce","graphql","graphql-api","headless","headless-commerce","jwt","laravel","opensource","php"],"created_at":"2024-09-06T19:01:35.756Z","updated_at":"2025-05-16T04:04:48.864Z","avatar_url":"https://github.com/bagisto.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Bagisto GraphQL API\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://packagist.org/packages/bagisto/graphql-api\"\u003e\n      \u003cimg\n         src=\"https://poser.pugx.org/bagisto/graphql-api/d/total.svg\"\n         alt=\"Total Downloads\"\n      \u003e\n   \u003c/a\u003e\n\n   \u003ca href=\"https://packagist.org/packages/bagisto/graphql-api\"\u003e\n      \u003cimg\n         src=\"https://poser.pugx.org/bagisto/graphql-api/v/stable.svg\"\n         alt=\"Latest Stable Version\"\n      \u003e\n   \u003c/a\u003e\n\n   \u003ca href=\"https://packagist.org/packages/bagisto/graphql-api\"\u003e\n      \u003cimg\n         src=\"https://poser.pugx.org/bagisto/graphql-api/license.svg\"\n         alt=\"License\"\n      \u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\nBagisto'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.\n\n**Read our full documentation: [Bagisto GraphQL API Docs](https://devdocs.bagisto.com/2.2/api/graphql-api.html)**\n\nThis API was developed in collaboration with the \u003ca href=\"https://www.ucraft.com/\"\u003eUcraft Team\u003c/a\u003e.\n\n---\n\n### Requirements:\n\n- **Bagisto**: v2.2.2 or higher\n\n---\n\n### Installation:\n\nTo install the Bagisto GraphQL API, follow these steps:\n\n1. **Install via Composer**\n\n   Run the following command in your terminal to install the GraphQL API package:\n\n   ```bash\n   composer require bagisto/graphql-api dev-main\n   ```\n\n2. **Update Middleware Configuration**\n\n   In the `app/Http/Kernel.php` file, move the following middleware from the `web` section in the `middlewareGroups` array to the global `middleware` array:\n\n   ```php\n   \\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse::class,\n   \\Illuminate\\Session\\Middleware\\StartSession::class,\n   ```\n\n3. **Update Environment Settings**\n\n   Add the following entries to your `.env` file to configure JWT settings:\n\n   ```env\n   JWT_TTL=525600\n   JWT_SHOW_BLACKLIST_EXCEPTION=true\n   ```\n\n4. **Publish Assets and Configurations**\n\n   Run the command below to publish assets and configurations for Bagisto GraphQL:\n\n   ```bash\n   php artisan bagisto-graphql:install\n   ```\n\n---\n\n### Usage:\n\n1. **GraphQL Playground**\n\n   After installation, you can test your API through the GraphQL Playground. Visit:\n\n   ```\n   http://your-domain.com/graphiql\n   ```\n\n2. **Postman Integration**\n\n   Alternatively, you can test the API using Postman by accessing:\n\n   ```\n   http://your-domain.com/graphql\n   ```\n\n---\n\nThat's it! Your Bagisto GraphQL API is now ready. Execute the project on your specified domain and start building your headless eCommerce solution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagisto%2Fheadless-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbagisto%2Fheadless-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagisto%2Fheadless-ecommerce/lists"}