What is a database? A plain explanation for business owners
A database is where your app keeps its records — customers, orders, bookings — so they are there tomorrow and only the right people can see them. What that means for your business.
Think of tables
A database is a set of tables, like spreadsheets that the app reads and writes: one for customers, one for orders, one for products. Each row is one record; each column is one fact about it.
The difference from a spreadsheet is that the tables are linked (an order belongs to a customer), checked (a price must be a number) and guarded (a customer can read their own orders and nobody else’s).
Why your app needs one
Without a database, a site forgets everything the moment you close it. Bookings, orders, sign-ups, messages — anything you want to still be there tomorrow — lives in a database.
Who can see what
Access rules decide who reads and changes each table. These rules are the difference between an app and a data leak, so test them: sign in as two different customers and make sure neither sees the other’s records. Chirai does this with two test accounts on every build.
Do you need to understand it?
Not to start. In Chirai every site gets its own database, kept apart from every other site, and you work with it through Manage site. It helps to name your records clearly in your description — “orders with pickup date and paid / unpaid” — because those become the tables.
Try this prompt
Build a simple customer and order tracker for my home bakery: customers with phone numbers, orders with items, pickup date and paid / unpaid, and a list of tomorrow’s pickups.
Build it with Chirai