Technical Documentation

Open Care is built with a scalable, privacy-first architecture using modern tooling and access control patterns.

Stack Badges

Next.js / React Spring Boot PostgreSQL Keycloak MinIO (dev) / Cloudflare R2 (prod) Docker Kubernetes (later)

Architecture Overview

  • Frontend: Next.js 15 and React 19 web app, in English and Bangla
  • Backend: one Spring Boot 3.5 application (Java 21) with REST APIs; an intentional monolith at this stage
  • Identity: Keycloak for RBAC, SSO, and audit-ready access control
  • Storage: PostgreSQL (Liquibase migrations, built-in text search) and S3-compatible file storage: MinIO in development, Cloudflare R2 in production

Security & Governance

Privacy-first

Data minimization, explicit consent, and permissioned access per role.

RBAC

Role-based access control with Keycloak groups and a staff screen for role permissions. Plan features (Free, Plus, Pro) switch on paid workflows.

Audit Trail

Change logging and traceable operations across critical workflows.