
Hullu Kinderpalliativ
Full-Stack Website Development Case Study
Executive Summary
"Hilfe für schwerkranke Kinder und ihre Familien" (Help for seriously ill children and their families)
Germany's pediatric palliative care operates within a well-established legal framework where, since 2007, every child with a life-limiting condition has the legal right to specialized palliative home care (SPPHC). The Hullu organization needed a modern web platform to facilitate donations and automate certificate generation for this critical healthcare service.
Technology Stack
Frontend
- React with TypeScript
- Vite Build Tool
- TanStack Router
- Tailwind CSS
Backend
- Rust with Actix Web
- SQLx for Database
- PostgreSQL
- Stripe & PayPal Integration
Document Processing
- Python Script
- docxtpl Templates
- LibreOffice Conversion
- Automated PDF Generation
System Architecture
System Architecture
Modern, scalable architecture built with performance and reliability in mind
Frontend
React SPA
Modern React application with TypeScript, providing a responsive and interactive user interface with real-time updates.
Technologies
Backend API
Rust Server
High-performance Rust backend with Actix Web, providing secure API endpoints, payment processing, and business logic.
Technologies
Document Service
Python Processing
Specialized Python service for document generation, PDF creation, and automated certificate processing with template support.
Technologies
Database
PostgreSQL
Robust PostgreSQL database with ACID compliance, handling user data, donations, and system configurations with high reliability.
Technologies
Data Flow & Processing
How information flows through the system
Payment Processing
Secure payment handling with webhook confirmation and real-time status updates
Document Generation
Automated certificate creation with custom templates and PDF conversion
Email Delivery
Instant notification system with attachment support and delivery confirmation
Architecture Benefits
Type Safety
Rust eliminates runtime errors with compile-time guarantees
Performance
High-speed concurrent request handling with minimal latency
Scalability
Microservices design enables independent scaling
Reliability
Robust error handling and automatic recovery systems
Core Requirements
Donation Processing
Secure payment handling via multiple providers with real-time processing and confirmation.
Instant Certificate Delivery
Webhook-triggered certificate generation with instant email delivery upon payment success, including professional PDF formatting.
Multi-language Support
German language interface with internationalization capability for future expansion.
Security & Compliance
GDPR compliance and financial data protection for sensitive healthcare information.
Technical Challenges & Solutions
Automated Certificate Generation on Payment Success
Challenge: Generate and deliver tax certificates instantly upon successful payment, integrating Word document processing with email delivery.
Solution: Webhook-triggered Python script that receives JSON data from Rust, processes Word templates, returns Base64 PDF, which is then automatically emailed to donors with payment confirmation.
Dual Payment Provider Support
Challenge: Different APIs, webhook formats, and error handling between Stripe and PayPal.
Solution: Unified payment abstraction layer with provider-specific implementations and consistent error handling across providers.
Type-Safe Database Operations
Challenge: Runtime SQL errors difficult to debug and prone to production issues.
Solution: SQLx compile-time query verification with automatic type generation, eliminating entire class of runtime SQL errors.
Performance & Security
Performance Metrics
- • Sub-200ms initial page loads
- • <50ms average API response times
- • 2-3 second PDF generation
- • Thousands of concurrent requests
Security Features
- • HTTPS enforcement with TLS 1.3
- • PCI DSS compliance
- • GDPR-compliant data handling
- • Rate limiting and input validation
Impact & Results
Technical Achievements
- Zero Runtime Errors: Rust's type system eliminated an entire class of production bugs
- Development Velocity: Vite and TanStack Router provided exceptional developer experience
- Payment Reliability: Dual provider setup ensures maximum availability
- Instant Certificate Delivery: Webhook-triggered automation delivers tax certificates within seconds of payment success
- Scalability: Architecture supports 10x growth without modification
Future Enhancements
Short-Term (3-6 months)
- • Multi-language expansion
- • Analytics dashboard
- • Email automation
- • Mobile application
Long-Term (6-12 months)
- • Recurring donations
- • Advanced analytics
- • Third-party integrations
- • AI-enhanced communication
Conclusion
The Hullu Kinderpalliativ project exemplifies how thoughtful technology choices can create powerful solutions for meaningful causes. By combining Rust's performance and safety with React's modern frontend capabilities and Python's document processing strengths, we delivered a robust platform that serves families during their most challenging times.
This implementation showcases how modern web development practices, when applied with careful consideration for user needs and technical requirements, can create impactful digital solutions that make a real difference in people's lives while supporting critical healthcare missions.