GoCommerce is an MIT-licensed commerce engine written in Go: products, variants, inventory, carts, checkout, orders, payments and fulfilment over one PostgreSQL database, with an admin panel built into the binary. Svelte Commerce is the SvelteKit storefront that sells from it. This walkthrough runs both, plus Postgres, Meilisearch and Caddy, on your own machine, and ends with a working shop at https://acme.shops.localhost .
You need Docker with Compose v2 and Git. Nothing else: Go and Node run inside the images.
1. Get the code
git clone https://github.com/itswadesh/gocommerce cd gocommerce cp .env.example .env
Enter fullscreen mode
Exit fullscreen mode
2. Fill in .env for a local trial
Open .env and set these.…