Quick Start
Build a fully working CRUD REST API with Ginject in under 5 minutes. Covers controllers, providers, modules, and the main entry point.
Quick Start
This guide walks you through building a users REST API with full CRUD, a provider for business logic, and a module to wire them together.
1. Define the DTO and model
2. Write the Provider (service)
3. Write the Controller
Method names are automatically parsed into routes — see Routing for the full token reference.
4. Define the Module
5. Root Module
6. Entry Point
7. Run It
Test the API:
What's Next
- Learn about the full routing token reference
- Understand Modules and how to compose them
- Explore Guards for authentication
- Dive into ExecutionContext for proper context propagation