BackHealthcare SaaS CTO & Lead Software Engineer
Viten SaaS platform for clinics and health professionals to manage patients, clinical records, appointments, consultations, informed consents, users, payments and automations.
SaaS Healthcare Backend
Business Problem Clinics and health professionals need a single, secure system to manage patients, clinical records, appointments, consents and payments.
Technical Challenges Protecting sensitive clinical information. Designing a multi-tenant SaaS model. Coordinating asynchronous jobs for reminders and payments. Integrating external payment and messaging providers. System Architecture
Technology Stack Django Ninja Next.js PostgreSQL JWT Celery Redis Docker GitHub Actions Caddy Sentry Mercado Pago
Architecture Decisions Django Ninja for a typed, fast API layer. PostgreSQL for relational integrity. Celery + Redis for background work. AES-256 encryption for clinical data. Implementation Highlights Multi-tenant SaaS architecture. Encrypted clinical information with AES-256. Asynchronous processing with Celery and Redis. Payments integration with Mercado Pago. Automated reminders and messaging. Security Considerations JWT authentication and permission management. AES-256 encryption of clinical information. Secret management and environment isolation. Infrastructure & Deployment Docker GitHub Actions Caddy reverse proxy Sentry monitoring QA and production environments. Trade-offs Monolithic backend chosen for delivery speed and maintainability over microservices. Lessons Learned Security must be designed into the data model from the start. Future Improvements Additional integrations and reporting capabilities.