Features · Development

One binary, one database, one dependency

GoCommerce is a Go program with its admin compiled in, talking to one PostgreSQL. Everything else — payments, carriers, search, an AI agent — is a module you import, and the whole API is written down in OpenAPI.

The shape of it

Extending it

Deploying it

Running it

Security

Working with AI agents

Not in GoCommerce yet

Self-hosted, GoCommerce gives you standard PostgreSQL backups and point-in-time recovery rather than a hosted platform’s conveniences. Also absent today:

FAQ

Questions about development

What do I need to run GoCommerce?

One PostgreSQL database and somewhere to run one binary — a server, a container or your laptop. No Node.js, Redis or message broker is required.

Can I scale it horizontally?

Yes. Several instances can run behind a load balancer with no coordination between them; background work is claimed with row locks. Give them a shared volume for uploaded media, and size your PostgreSQL connection pooling.

How do I run GoCommerce and Svelte Commerce together?

Start from examples/kitcommerce-stack in the GoCommerce repository. Docker Compose runs PostgreSQL, the engine, Svelte Commerce and Caddy, and CI runs its smoke test, which places a cash-on-delivery order through the shop, whenever the example changes. It has no shopper sign-in, search or online payment yet.

Is there a GraphQL API?

No. The API is REST and JSON, documented in OpenAPI 3.0.3, so any language can generate a client from the spec.

How do I add a feature the core does not have?

Write a module: a Go package under ext/ that plugs into the core’s ports and is compiled in when imported. Or keep it outside GoCommerce entirely and listen to its signed webhooks.

Can an AI agent run the store?

Through the MCP module: 19 tools that go through the same services and rights checks as the API. Read-only mode lets an agent look without changing anything, and so does an agent key, which reaches the read tools only.

Read the code behind every tile

Each file named on this page is in the GoCommerce repository, MIT licensed. Run it and check.

Chat on WhatsApp