About
Learn more about me and this project.
Project Overview
deploy-baba is a zero-cost Rust portfolio and deployment-automation platform hosted on AWS Lambda. It serves this portfolio site, exposes live API demos in OpenAPI / GraphQL / gRPC, and ships its own infra via OpenTofu — all from a single Rust workspace.
Tech Stack
Rust 2021 · Axum 0.7 · Askama (compile-time templates) · Rusqlite (SQLite on EFS) · AWS Lambda (aarch64) · CloudFront CDN · Cognito (auth) · OpenTofu · EventBridge · S3
Architecture
The workspace contains 10 pure-library crates and one Lambda binary (services/ui). A dual-mode entry point (ADR-004) lets the same binary run locally or on Lambda. SQLite lives on EFS for zero-cold-start persistence, with S3 backup on an EventBridge schedule. Auth uses Cognito implicit grant with RS256 JWT validation; a dev-mode bypass skips auth when COGNITO_POOL_ID is unset.
Library Crates
config-core · config-toml · config-yaml · config-json · api-core · api-openapi · api-graphql · api-grpc · api-merger · infra-types. Each crate is a zero-cost abstraction: implement the trait, get the output format for free.