A minimal Rust backend service with health check endpoints built using Axum.
Comprehensive project documentation is available in the docs/ directory:
DO NOT CHANGE THESE DOCUMENTS UNLESS ASKED TO DO SO EXPLICITLY. ALWAYS place progress reports, final reports and assessments into ./docs/workplace place all plans in ./docs/plans
- Documentation Index - Complete navigation guide
- Server Guidelines - 🦀 Rust-only server requirements
- Code Quality Standards - Coding conventions and best practices
- Testing Guide - Testing patterns and TDD approach
- Architecture Overview - System design and technical architecture
- API Documentation - API specifications and response formats
- ✅ Health check endpoint at
/healthand/api/health - ✅ CORS enabled for cross-origin requests
- ✅ JSON responses with service information
- ✅ Structured logging with tracing
- ✅ Async/await with Tokio runtime
- ✅ 100% test coverage (509/509 tests passing)
- axum: Modern async web framework for Rust
- tokio: Async runtime
- serde: Serialization/deserialization
- tower-http: HTTP middleware (CORS)
- tracing: Structured logging
- chrono: Date/time handling
# Build the project
cargo build
# Run the service
cargo runRun the test suite:
# Run all tests
cargo test
# Run tests with output
cargo test -- --nocapture
# Run specific test module
cargo test storage::async_loader::tests