Module templates

Module templates 

Source
Expand description

Template modules for project scaffolding

This module contains all the template strings used when generating new AllFrame projects with the allframe ignite command.

Templates are organized by archetype:

  • basic: Simple Clean Architecture project (default)
  • gateway: API Gateway service with gRPC, resilience, and caching
  • consumer: Event consumer service with Kafka, idempotency, and DLQ
  • producer: Event producer service with outbox pattern and transactional messaging
  • bff: Backend for Frontend API aggregation service
  • scheduled: Scheduled jobs service with cron-based task execution
  • websocket: WebSocket gateway for real-time bidirectional communication
  • saga: Saga orchestrator for distributed transaction coordination
  • acl/legacy-adapter: Legacy system adapter (anti-corruption layer)

Re-exports§

pub use basic::*;

Modules§

acl
Anti-Corruption Layer archetype templates
basic
Template strings for project scaffolding
bff
BFF (Backend for Frontend) archetype templates
consumer
Consumer archetype templates
gateway
Gateway archetype templates
producer
Producer archetype templates
saga
Saga Orchestrator archetype templates
scheduled
Scheduled Jobs archetype templates
websocket
WebSocket Gateway archetype templates