Each table represents a collection of related data and automatically generates APIs for interacting with that data. Instead of manually coding backend endpoints, you simply define your database schema, and EazeMyAPI generates the API automatically.
What is a Database Schema?
A database schema defines how your data is structured. It includes:- Tables
- Fields
- Field types
- Relationships between tables
| Field | Type |
|---|---|
| id | NUMBER |
| name | TEXT |
| phone | PHONE |
| bio | PARAGRAPH |
| is_active | BOOLEAN |
| created_at | DATETIME |
Example Record
Example data stored in the users table.Automatic API Generation
Once a table is created, EazeMyAPI automatically generates APIs for it. Example generated endpoints for the users table:- Create data
- Read data
- Update data
- Delete data
Example API Endpoint
Example endpoint:Multiple Tables Example
Example schema for a simple blog application.Users Table
| Field | Type |
|---|---|
| id | NUMBER |
| name | TEXT |
| created_at | DATETIME |
Posts Table
| Field | Type |
|---|---|
| id | NUMBER |
| title | TEXT |
| content | PARAGRAPH |
| user_id | NUMBER |
| created_at | DATETIME |
Table Relationships
Tables can be connected using relationships. Example:Best Practices for Schema Design
When designing database tables in EazeMyAPI: • Keep each table focused on one type of data• Use clear and descriptive field names
• Use proper field types for validation
• Create relationships when data is connected A well-designed schema makes your backend easier to maintain and scale.

