Guides
Task-oriented guides that show you how to accomplish specific goals with Granit.
Each guide assumes you have a working Granit application. If you are starting from scratch, begin with Getting Started.
Modules and endpoints
Section titled “Modules and endpoints”- Create a Module — build a new Granit module from scratch
- Add an Endpoint — Minimal API with validation and Problem Details
- Configure Multi-Tenancy — shared DB, per-schema, or per-database
Messaging and events
Section titled “Messaging and events”- Set Up Notifications — 6-channel notification engine
- Implement Data Import — CSV/Excel import pipeline
- Add Background Jobs — recurring and delayed jobs
- Configure Blob Storage — S3-compatible file storage
- Implement Webhooks — event delivery with retry
Features and settings
Section titled “Features and settings”- Add Feature Flags — toggle, numeric, and selection features
- Set Up Localization — 17 cultures, source-generated keys
- Use Reference Data — i18n reference tables
- Manage Application Settings — runtime settings store
Documents and workflow
Section titled “Documents and workflow”- Create Document Templates — Scriban, PDF, Excel
- Implement Workflow — FSM engine, publication lifecycle
Caching, versioning, and API
Section titled “Caching, versioning, and API”- Configure Caching — memory, Redis, HybridCache
- Add API Versioning — URL segment and header versioning
- Configure Idempotency — Idempotency-Key middleware
Security and observability
Section titled “Security and observability”- Encrypt Sensitive Data — Vault Transit and AES-256
- Implement Audit Timeline — entity change tracking
- End-to-End Tracing — OpenTelemetry distributed tracing