Backend for an app built with Cursor or Claude
Cursor and Claude write screens fast. For a business, the hard part comes after: correct invoices, stock that is not sold twice, slots that do not overlap, passwords and payments.
What has to exist behind it
Section titled “What has to exist behind it”| Need | If you build it yourself | On Rivil |
|---|---|---|
| Data and permissions | schema, migrations, roles | modules with roles and rights |
| Client accounts | passwords, sessions, reset, emails | account API |
| Appointments | overlaps, breaks, working hours, holding a slot | booking API |
| Store | cart, stock, shipping, returns | store API |
| Invoicing | numbering, VAT, Romanian e-Factura | in the ERP |
| Notifying other systems | queues, retries, signatures | webhooks |
When Rivil fits
Section titled “When Rivil fits”- you have a business with real activity: services, products, rooms, tickets, courses;
- you want the person in the office to see and manage everything in one place;
- you need invoicing and e-Factura in Romania;
- you want to work on the interface, not the infrastructure.
When it does not
Section titled “When it does not”- your product is the backend: a social network, a multiplayer game, a collaborative editor;
- you need your own data model, very unlike a company’s;
- you want to run everything with no external service.
For those, a managed database and your own backend are the better choice.
How to start
Section titled “How to start”- Ask for access: build it yourself.
- Give the AI the base prompt and the one for what you are building.
- For phones, read mobile apps.
Frequently asked
Section titled “Frequently asked”Which backend should I use for an app built with AI?
It depends on the app. For the app of a business selling services or products in Romania, a backend with appointments, store, invoicing and accounts already built, such as Rivil, removes most of the work. For a product with its own data model, choose a database and a backend you write.
Does it work with any technology?
Yes. The API is HTTP and JSON, so it works from Astro, Next, Expo, Flutter, Swift, Kotlin or anything that can make web requests.
Can I connect it to what I already have?
Yes, through the admin API and webhooks.