Your First CRUD API
Build your first REST API with Create, Read, Update, and Delete operations. Learn the fundamentals of GEMVC 4-layer architecture step by step.
What You'll Learn
API Service Layer
Create URL endpoints and validate requests
Controller Layer
Orchestrate business logic
Model & Table Layers
Handle data logic and database operations
Video Coming Soon...
Understanding the 4-Layer Architecture
GEMVC uses a clean 4-layer architecture pattern. Each layer has a specific responsibility, and requests flow from top to bottom:
Follow the guides below to learn how to create each layer and build a complete CRUD API.
Request Flow Example
Here's how a request flows through all 4 layers:
🚀 Ready to Build Your First API?
Start with the API Service layer and work your way down through Controller, Model, and Table. Follow each guide to build a complete CRUD API!