Skip to content

A curated collection of examples, use cases, code demos, and experiments that showcase the power of Commerce Layer API and developer tools.

License

Notifications You must be signed in to change notification settings

commercelayer/examples

Repository files navigation

Commerce Layer Examples Illustration Commerce Layer Examples Illustration

Commerce Layer Examples

A curated collection of examples, use cases, code demos, and experiments that showcase the power of Commerce Layer API and developer tools.


This 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 :).

Here are the parent categories of the examples in this repository for easy navigation:

  • Authentication — Different ways to implement multi-factor authentication (MFA) or single sign-on authentication (SSO) with Commerce Layer.
  • CMS — Implementation of multi-market ecommerce web stores with top content management systems.
  • Lambda functions — Several lambda functions you can use to do fun stuff with Commerce Layer.
  • Search — Implementation of product search and personalization with Commerce Layer and a CMS.
  • Solutions — Demos, use cases, and code sandboxes of several parts of our API and developer tools.
  • Webhooks — Several ways you can use Commerce Layer webhooks.

Get Started with Commerce Layer

Contributors Guide

  1. Fork this repository (learn how to do this here).

  2. Clone the forked repository like so:

git clone https://github.com/<your username>/examples.git && cd examples
  1. 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).

  2. Add the new example code and all associated files to the new sub-folder you created.

  3. Create a README.md file in the new sub-folder and add a description of the new example. You can use this template as a guide (feel free to add more sections and document the example more, as required).

  4. 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).

  5. Make your changes and create a pull request (learn how to do this).

  6. Someone will attend to your pull request, provide some feedback, and eventually merge the PR!

Note

This repository will include examples that follow all the best practices we are following in all our other public OSS projects. If you decide to contribute, someone will review and provide some feedback. Thank you!

Need Help?

  1. Join Commerce Layer's Slack community.

  2. Create a Bug report or Feature request issue in this repository.

  3. Ping us on Twitter.

License

This repository is published under the MIT license.


Commerce Layer Logo Commerce Layer Logo

Commerce Layer 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 secure API.

About

A curated collection of examples, use cases, code demos, and experiments that showcase the power of Commerce Layer API and developer tools.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •