What is K8sCommerce?
K8sCommerce Platform
K8sCommerce is a headless ecommerce platform architected from the ground-up to be cloud native and run on Kubernetes. It is comprised of 14 microservices, 2 public/web facing via a JSON REST API, and 12 private/non-web facing RPC services.
Why K8sCommerce?
As of January 2022 no production ready open source projects written in Go and designed for Kubernetes existed.
Today’s most popular open-source ecommerce solutions (WooCommerce - 30% market share, Magento - 9% market share, Bagisto, Drupal commerce, Joomla, OpenCart, Prestashop, OsCommerce, Zencart, X-Cart, etc.) are written in PHP, with many founded 20+ years ago, and are monolithic (all-in-one) software programs that were never designed for the cloud and lack finite resource management
In 2022 the time for a highly-scalable, open source, microservice based ecommerce platform was past due. We need systems that are resource conscientious that automatically adapt in size based on traffic and computing loads. Kubernetes enables adapting / scaling in size but if the majority of open source software available are monolithic leviathans K8s auto scaling cannot break those application into separate services.
JSON REST Gateway Services
There are currently 2 public-facing, RESTful Gateway Services. These external-facing
services are intended to be exposed to the internet via a DMZ network. These communicate
via JSON
over common protocols such as http
and https
through standardized
GET
, POST
, PUT
, PATCH
, and DELETE
HTTP methods.
Client Gateway Service
The client gateway service exposes all necessary client REST endpoints to facilitate a headless storefront.
- Microservice overview: client gateway
- REST endpoints: client REST endpoints
Client gateway endpoints by service:
Admin Gateway Service
In addition to all client gateway endpoints, the admin gateway exposes all endpoints needed for full administration of the platform and store(s).
- Microservice overview: admin gateway
- REST endpoints: admin REST endpoints
Admin gateway endpoints by service:
- cart endpoints
- catalog endpoints
- customer endpoints
- email endpoints
- inventory endpoints
- others bought endpoints
- payment endpoints
- shipping endpoints
- similar products endpoints
- store endpoints
- user endpoints
- warehouse endpoints
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.