Settings

Theme

Show HN: Merchant, a lightweight ecommerce back end on Cloudflare Workers

merchant.dev

5 points by burcs a month ago · 1 comment · 1 min read

Reader

Every time I had an idea for a small online shop, it felt harder than it should be. The tools were either big and expensive, or they locked you into their way of doing things.

I wanted something simpler. Something I could launch and manage myself. And to be 100% honest I wanted to prove it could be done.

All I really needed was an API that handled the boring parts of a store and then stayed out of the way. Products, inventory, carts, checkout, orders, etc...

So I built Merchant.

Merchant is an open-source e-commerce backend that runs on Cloudflare Workers. It uses D1 for the database and Stripe for payments. It supports outbound webhooks so it can be extended without much effort. There’s also an admin dashboard if you don’t want to manage everything through the API.

It’s still early and there are rough edges, shipping is basic, it only supports Stripe and it's fairly US-centric. I probably wouldn’t move your production store to it yet.

I’d love to hear what you think. What would make something like this useful to you?

https://github.com/ygwyg/merchant

burcsOP a month ago

I'm also very biased towards Cloudflare (I work there), but I have to say it did make launching this really easy. Workers + Hono for the APIs, R2 for the images, D1 for database with the option to migrate to Hyperdrive if you outgrow it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection