allframe_forge/templates/mod.rs
1//! Template modules for project scaffolding
2//!
3//! This module contains all the template strings used when generating
4//! new AllFrame projects with the `allframe ignite` command.
5//!
6//! Templates are organized by archetype:
7//! - `basic`: Simple Clean Architecture project (default)
8//! - `gateway`: API Gateway service with gRPC, resilience, and caching
9//! - `consumer`: Event consumer service with Kafka, idempotency, and DLQ
10//! - `producer`: Event producer service with outbox pattern and transactional
11//! messaging
12//! - `bff`: Backend for Frontend API aggregation service
13//! - `scheduled`: Scheduled jobs service with cron-based task execution
14//! - `websocket`: WebSocket gateway for real-time bidirectional communication
15//! - `saga`: Saga orchestrator for distributed transaction coordination
16//! - `acl`/`legacy-adapter`: Legacy system adapter (anti-corruption layer)
17
18pub mod acl;
19pub mod basic;
20pub mod bff;
21pub mod consumer;
22pub mod gateway;
23pub mod producer;
24pub mod saga;
25pub mod scheduled;
26pub mod websocket;
27
28pub use basic::*;