How to Build a Simple CRUD App
A CRUD app lets users Create, Read, Update, and Delete data. In Div-idy, you can build one just by prompting the AI and saying that’s what you want to create.
Quick Answer
Just tell Div-idy that you want to build a simple CRUD app and describe the data it should manage. Div-idy will generate the interface and database automatically—no manual setup required.
What a CRUD app includes
- Create: add new records
- Read: view existing records
- Update: edit saved data
- Delete: remove records
Admin dashboards, task managers, inventory lists, lead managers, and internal tools.
Step-by-step
Prompt Div-idy to build a CRUD app
Say clearly that you want a CRUD app and list the fields it should manage.
Example prompt:
Create a simple CRUD app to manage tasks.
Fields:
- title (required)
- description
- status (todo, in-progress, done)
- createdAt
Features:
- Create new tasks
- Display tasks in a list
- Edit existing tasks
- Delete tasks
- Save everything to a database
Generate and test
Generate the app and test all four CRUD actions.
Click: Generate
Test: add, edit, delete records
Manage data from the Database tool
Open the Database tool from your project page to view or edit records.
Project page → Tools
Click: Database
Prompt templates
Create a CRUD app for managing leads.
Fields:
- name
- email
- company
- status (new, contacted, qualified)
Features:
- Add, edit, and delete leads
- Display leads in a table
- Save data to a database
Create a CRUD app for inventory management.
Fields:
- itemName
- quantity
- price
- category
Features:
- Create, read, update, and delete items
- Show totals and low-stock warnings
- Save to database