A Rust application to showcase badge awards in the AT Protocol ecosystem.
at main 21 lines 778 B view raw
1//! Badge awards showcase application for the AT Protocol community. 2//! 3//! This application consumes Jetstream events, validates badge signatures, 4//! stores data in a database, and provides a web interface to display badge awards. 5 6#![warn(missing_docs)] 7 8/// Configuration management via environment variables. 9pub mod config; 10/// Jetstream consumer for AT Protocol badge award events. 11pub mod consumer; 12/// Comprehensive error handling using `thiserror`. 13pub mod errors; 14/// Axum-based HTTP server with API endpoints and template rendering. 15pub mod http; 16/// Badge processing logic, signature validation, and image handling. 17pub mod process; 18/// Database models and operations using SQLx. 19pub mod storage; 20/// Template engine integration with MiniJinja. 21pub mod templates;