OlympusFitness
High-performance digital presence and secure administration portal for a premier fitness center, featuring dynamic galleries, leaderboards, and training program management.

The Challenge & Objectives
The client required a dynamic platform to showcase their gym facility, trainers, and member transformation records. • The core objective was to build a high-performance public marketing site backed by a custom content management system (CMS) that their internal team could use to upload gallery images and manage training programs, without relying on third-party SaaS platforms.
Architecture & Engineering Decisions
• I architected a full-stack Next.js 16 (App Router) solution. The public-facing pages utilize React Server Components (RSC) to minimize client-side JavaScript execution, directly improving Core Web Vitals. • For the data layer, I integrated a MySQL database with Drizzle ORM to maintain strict type safety from the database schema up to the frontend UI components. • To secure the admin dashboard, I engineered a stateless JWT authentication system using the 'jose' library, bypassing the overhead of large auth frameworks. This enabled strict Role-Based Access Control (RBAC) enforced directly via Next.js middleware. • Furthermore, I implemented custom Node.js API routes for gallery and transformation image uploads, utilizing strict 'path.basename' sanitization to mitigate directory traversal vulnerabilities.
System Architecture Blueprint
Next.js 16 App Router
React Server Components (RSC) and Tailwind CSS with localized Framer Motion layout transitions.
MySQL + Drizzle ORM
Fully typed relational schema for managing training programs, galleries, and member transformations.
Contabo VPS / aaPanel
Self-hosted Node.js environment managed via PM2, routed through an Nginx reverse proxy.
Custom JWT Auth & RBAC
Stateless HTTP-only session cookies, middleware role enforcement, and sanitized file upload handlers.
Production Interface Gallery
Click any photo to expand

Business Impact & Results
• The platform centralized the gym's digital asset management into a single, self-hosted tool, eliminating recurring external CMS subscription costs. • The RSC-first architecture lowered initial page load times, directly improving local search indexing and providing a seamless UX for prospective members browsing the facility and transformation galleries.
System Telemetry
Technology Taxonomy
Architected, engineered, and maintained by Kavinayan. Discover all digital systems at iamkavinayan.com.
Looking to architect an enterprise web platform or custom client software?
Initialize Contact Relay →Explore Systems
Wave Clothing — High-Performance 3D Streetwear Commerce
Next-generation streetwear e-commerce platform featuring real-time WebGL/Three.js 3D product inspection, high-throughput SSR catalog rendering, and an integrated inventory & lookbook CMS.
VisaFlow
Comprehensive CRM and automation engine designed for overseas educational consultancies to manage leads, university partnerships, and visa processing workflows.