Database
A static landing page doesn't need a database. But once you want to save something — customer orders, user accounts, blog posts, bookings — you need a database. In codeyy, adding one is simpler than you think.
When do I need a database?
A database is essential whenever your app needs to "remember" something between visits. Examples:
- A store that saves products and orders.
- A booking system that saves appointments.
- An app with user accounts and profiles.
- A blog or content system you add articles to.
How to add it
Simply tell the assistant what you want to save, and your database will be set up automatically behind the scenes. No connection strings to copy, no manual configuration — the platform connects your app to its database securely on your behalf.
Example prompt for the assistant
“Add a "subscribe to newsletter" form that saves subscriber emails in the database, and show me their list in a simple dashboard.”
Visual database editor
codeyy provides a visual editor for your database within your workspace. Through it you can:
Browse tables
View the tables and data actually stored in your app, in an organized and clear display.
Safe queries
Run read queries to inspect your data, with safeguards that prevent any unintended dangerous action.
Separate environments
While developing and previewing, your app runs on a development version of your database, while your published version's data stays separate and safe. This means your experiments during building don't touch your real users' data.
Your data is precious. Before any major change to the database structure or data, check Data and snapshots to learn how to safely restore if needed.