9536158f58144916f539db0d3f3043af841b34b7
This commit improves code maintainability by: 1. **Removing excessive debug logging**: - Cleaned up verbose datetime parsing and CalDAV operation logs - Kept essential error logging and status messages - Simplified request flow logging for better readability 2. **Adding comprehensive documentation**: - Detailed RFC 5545 compliant series splitting explanation - Clear operation overview with real-world examples - Frontend/backend interaction documentation - CalDAV operation sequencing and race condition prevention - Error handling and parameter validation details The documentation explains how "this and future events" works: - **Backend**: Creates comprehensive function-level docs with examples - **Frontend**: Explains the user interaction flow and technical implementation - **Integration**: Documents the atomic request handling and parameter passing This makes the codebase more maintainable and helps future developers understand the complex recurring event modification logic. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Calendar App
A full-stack calendar application built with Rust, featuring a Yew frontend and Axum backend with CalDAV integration.
Features
- Interactive calendar interface
- Event creation and management
- CalDAV server integration
- User authentication with JWT
- iCal format support
- Weekly recurrence patterns
- Responsive web design
Architecture
- Frontend: Yew (Rust WebAssembly)
- Backend: Axum (Rust async web framework)
- Shared Models: RFC 5545-compliant VEvent structures
- Protocol: CalDAV for calendar synchronization
- Database: SQLite (via migrations)
- Build Tool: Trunk for frontend bundling
Getting Started
Prerequisites
- Rust (latest stable version)
- Trunk (
cargo install trunk)
Development
-
Start the backend server:
cd backend cargo run -
Start the frontend development server:
cd frontend trunk serve -
Open your browser to
http://localhost:8080
Building for Production
cd frontend
trunk build --release
Project Structure
This is a Cargo workspace with the following structure:
frontend/- Yew frontend applicationsrc/- Frontend source codeindex.html- HTML templatestyles.css- CSS stylesTrunk.toml- Trunk build configuration
backend/- Axum backend servercalendar-models/- Shared RFC 5545 VEvent modelsmigrations/- Database schema migrations
Description
Languages
Rust
76.9%
CSS
22.4%
JavaScript
0.4%
Dockerfile
0.2%
HTML
0.1%