{"id":22542146,"url":"https://github.com/commercelayer/examples","last_synced_at":"2025-04-09T22:43:00.001Z","repository":{"id":177231135,"uuid":"656195616","full_name":"commercelayer/examples","owner":"commercelayer","description":"A curated collection of examples, use cases, code demos, and experiments that showcase the power of Commerce Layer API and developer tools.","archived":false,"fork":false,"pushed_at":"2024-11-27T10:18:36.000Z","size":28531,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T00:41:23.723Z","etag":null,"topics":["api","commercelayer","demos","ecommerce","examples"],"latest_commit_sha":null,"homepage":"https://commercelayer.io/developers","language":"TypeScript","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/commercelayer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-20T12:51:31.000Z","updated_at":"2024-11-27T10:18:40.000Z","dependencies_parsed_at":"2024-08-07T16:50:08.524Z","dependency_job_id":null,"html_url":"https://github.com/commercelayer/examples","commit_stats":null,"previous_names":["commercelayer/examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercelayer%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercelayer%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercelayer%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercelayer%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercelayer","download_url":"https://codeload.github.com/commercelayer/examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248124963,"owners_count":21051758,"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":["api","commercelayer","demos","ecommerce","examples"],"created_at":"2024-12-07T13:08:41.172Z","updated_at":"2025-04-09T22:42:59.980Z","avatar_url":"https://github.com/commercelayer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![Commerce Layer Examples Illustration](/.assets/examples-light.svg#gh-dark-mode-only)\n![Commerce Layer Examples Illustration](/.assets/examples-dark.svg#gh-light-mode-only)\n\n\u003ch3\u003eCommerce Layer Examples\u003c/h3\u003e\n\u003cp\u003eA curated collection of examples, use cases, code demos, and experiments that showcase the power of Commerce Layer API and developer tools.\u003c/p\u003e\n\n\u003c/div\u003e\n\n---\n\nThis repository contains example code demos that are not 100% production-ready in most cases. We do not encourage you to use the code directly for production development but you can build on them to develop your ecommerce applications or integrations. Our goal here is to provide you with different reference code (accompanied by tutorials) that will show you different ways you can build with Commerce Layer. We will constantly add new examples with different composable technologies, so check back often :).\n\nHere are the parent categories of the examples in this repository for easy navigation:\n\n- [Authentication](./authentication) — Different ways to implement multi-factor authentication (MFA) or single sign-on authentication (SSO) with Commerce Layer.\n- [CMS](./cms) — Implementation of multi-market ecommerce web stores with top content management systems.\n- [Lambda functions](./lambda-functions) — Several lambda functions you can use to do fun stuff with Commerce Layer.\n- [Search](./search) — Implementation of product search and personalization with Commerce Layer and a CMS.\n- [Solutions](./solutions) — Demos, use cases, and code sandboxes of several parts of our API and developer tools.\n- [Webhooks](./webhooks) — Several ways you can use Commerce Layer webhooks.\n\n---\n\n## Get Started with Commerce Layer\n\n- [All Developer Resources](https://commercelayer.io/developers)\n- [Commerce Layer Documentation](https://docs.commercelayer.io)\n- [Commerce Layer API Reference](https://docs.commercelayer.io/core/v/api-reference/)\n- [Commerce Layer Core Concepts](https://commercelayer.io/docs/core-concepts)\n- [Commerce Layer Data Model](https://commercelayer.io/docs/data-model)\n- [Commerce Layer Blog](https://commercelayer.io/blog)\n- [Commerce Layer Case Studies](https://commercelayer.io/customers)\n\n## Contributors Guide\n\n1. Fork [this repository](https://github.com/commercelayer/examples) (learn how to do this [here](https://help.github.com/articles/fork-a-repo)).\n\n2. Clone the forked repository like so:\n\n```bash\ngit clone https://github.com/\u003cyour username\u003e/examples.git \u0026\u0026 cd examples\n```\n\n3. If you're adding a new example, choose the right category for an example (refer to the introduction above) and create a new sub-folder for it inside the category folder (use the kebab-case naming convention in lower-case to name the sub-folder).\n\n4. Add the new example code and all associated files to the new sub-folder you created.\n\n5. Create a `README.md` file in the new sub-folder and add a description of the new example. You can use this [template](./TEMPLATE.md) as a guide (feel free to add more sections and document the example more, as required).\n\n6. Add the new example to the list in the category's `README.md` file following the same format as the other examples (follow the sequential alphabetical order by name as seen in your local computer).\n\n7. Make your changes and create a pull request ([learn how to do this](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)).\n\n8. Someone will attend to your pull request, provide some feedback, and eventually merge the PR!\n\n\u003e **Note**\n\u003e\n\u003e This repository will include examples that follow all the best practices we are following in all our [other public OSS projects](https://commercelayer.io/developers). If you decide to contribute, someone will review and provide some feedback. Thank you!\n\n## Need Help?\n\n- Join [Commerce Layer's Discord community](https://discord.gg/commercelayer).\n- Ping us on [Bluesky](https://bsky.app/profile/commercelayer.io), [X (formerly Twitter)](https://x.com/commercelayer), or [LinkedIn](https://www.linkedin.com/company/commerce-layer).\n- Is there a bug? Create an [issue](https://github.com/commercelayer/examples/issues) on this repository.\n\n## License\n\nThis repository is published under the [MIT](LICENSE) license.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n![Commerce Layer Logo](/.assets/cl-light.svg#gh-dark-mode-only)\n![Commerce Layer Logo](/.assets/cl-dark.svg#gh-light-mode-only)\n\n\u003cp\u003e\u003ca href=\"https://commercelayer.io/why\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eCommerce Layer\u003c/a\u003e is a multi-market commerce API and order management system that lets you add global shopping capabilities to any website, mobile app, chatbot, wearable, voice, or IoT device, with ease. Compose your stack with the best-of-breed tools you already mastered and love. Make any experience shoppable, anywhere, through a blazing-fast, enterprise-grade, and \u003ca href=\"https://docs.commercelayer.io\" target=\"_blank\" rel=\"noopener noreferrer\"\u003esecure API\u003c/a\u003e.\u003c/p\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercelayer%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercelayer%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercelayer%2Fexamples/lists"}