Menu

Building a headless ERP: one codebase, a database per client
📰

Building a headless ERP: one codebase, a database per client

DEV Community: database·Paul Iordache·2 days ago
#WyCv9EZ1
#devtodatabase#devto#dev#client#database
Reading 0:00
15s threshold

The easiest way to see what I am talking about is to click around a live store.

https://demo-ecommerce.rivil.app/en

It is an Astro storefront on our shop API. The brand, Casa Lumen, is a demo. You can browse the catalog, add items to the cart, use the wishlist, and go through checkout without creating an account. On the account page there is a prepared demo login if you do not want to register.

I am Paul. I build RIVIL ( https://rivil.app ) with a small team in Romania. I do the engineering. This is a write-up of how the product took its shape, and of the architectural choice I still think about the most: one codebase, and a database per client.

It did not start as an ERP.

A colleague made very good reports in Google Sheets and had no clean way to send them to clients. That is a small problem when you write it down, and a large one when it is the weekly rhythm of the business.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.