I built and deployed MindCradle by Shubham KumarI built and deployed MindCradle by Shubham Kumar

I built and deployed MindCradle

Portfolio project
Shubham Kumar
I built and deployed MindCradle (https://mindcradle.online), a mental wellness and mood journaling platform that connects daily check-ins and reflections over time instead of treating each session in isolation.
What I built and owned:
Built the frontend SPA with React 19, Vite, TypeScript, and Tailwind CSS, plus a headless prerender.py script that generates static HTML for public marketing, docs, and blog routes so search engines index them cleanly.
Built the Python 3.11 / FastAPI backend with 30 sequential SQL migrations on Supabase PostgreSQL + pgvector, combining keyword search with 1536-dimensional embeddings for hybrid semantic search over past journal entries.
Implemented Just-In-Time (JIT) identity sync that verifies Amazon Cognito RS256 JWTs and ALB x-amzn-oidc-data headers, syncing user records atomically into user_profiles with HttpOnly, SameSite=Strict refresh cookies.
Configured multi-AZ AWS infrastructure in us-east-1: Route 53 DNS, ACM TLS 1.3, Application Load Balancer (port 80 to 443 redirect, Cognito integration), and an EC2 host locked down to accept traffic only from the ALB security group on port 8080.
Built the GitHub Actions CI/CD pipeline (ci.yml + build.yml) running Ruff, Pytest, Gitleaks secret checks, Trivy image vulnerability scans, Docker Hub builds, SSH rolling restarts on EC2, and a 15-retry /api/health verification gate.
Set up production observability using amazon-cloudwatch-agent (host RAM/disk metrics + Docker container logs), a 5-minute Synthetics Canary, 5 CloudWatch alarms (unhealthy hosts, 5XX spikes, memory >85%, disk >85%, EC2 status), and Amazon SNS alerts.

0 likes · 0 views · Dec 2, 2026

I built and deployed MindCradle (https://mindcradle.online), a mental wellness and mood journaling platform that connects daily check-ins and reflections ove...

Tags