Entities are the data models for your Base44 app. Each entity is a schema that defines the structure for documents in a collection, stored in Base44’s NoSQL database. The database is MongoDB-compatible, so you can use MongoDB operators when querying through the SDK. When you define an entity, you automatically get full CRUD operations through the entities module in the SDK. Entities support:Documentation Index
Fetch the complete documentation index at: https://docs.base44.com/llms.txt
Use this file to discover all available pages before exploring further.
- Schema flexibility: You can update your data model at any point without running migrations.
- Realtime updates: Subscribe to changes to receive updates when records are created, updated, or deleted.
- Fine-grained security: Row-level and field-level security rules control who can access which records and fields.
Define entities
Define entities as JSON files in your project’s entities directory. By default the entities directory isbase44/entities/, but you can customize the path in your project configuration.
Test locally
Test your entities locally withbase44 dev. The dev server picks up schema changes automatically. See Local development for details.
Deploy entities
Deploy entities withentities push or deploy to push all project resources at once.

