FitNexus — Multi-Tenant SaaS Fitness & Gym Management Platform

Computer Science

Description

FitNexus is a multi-tenant Software-as-a-Service platform that runs gyms in Pakistan end to end. A Next.js 16 web application serves the Super Admin, Gym Owners, Trainers, Members and public visitors, and a React Native Android app serves Members and Trainers. Both share one Supabase backend where row-level security isolates every gym's data. It covers members, plans, local payments (cash, JazzCash, Easypaisa, bank transfer), attendance, class booking, a public nearest-gym finder with join requests, reviews, real-time notifications and a rule-based AI Coach that generates personalized weekly workout and Pakistani diet plans.

Objectives

To provide one secure multi-tenant platform that runs small and medium gyms in Pakistan end to end. Every gym is an isolated tenant managed by a Super Admin, with data separation enforced in the database. Gym Owners get a web portal for members, plans, payments in rupees, trainers, classes, attendance, bookings, reviews and announcements. Trainers get web and Android tools for check-in and class rosters. Members get an Android app and web portal for their membership, class booking, workout logging, progress analytics and an AI Coach that generates a personalized weekly workout and diet plan. The public can find the nearest gym, compare plans and ratings, and send a join request directly to the owner.

Socio-economic benefit

FitNexus replaces paper registers, scattered cash receipts and WhatsApp coordination with one data-driven system, so gym owners stop losing revenue to missed renewals and can see their business at a glance. It brings the SaaS model to small and medium gyms in Pakistan at local prices and with local payment methods (cash, JazzCash, Easypaisa, bank transfer), which foreign dollar-priced software does not support. Members receive free, personalized and explainable workout and Pakistani diet guidance based on their own body data instead of generic social media advice, which encourages healthier lifestyles. The public gym directory and online join requests help local gyms find new customers, and the multi-tenant design lets one deployment serve any number of gyms at low cost, supporting local fitness businesses and digitalization of the sector.

Methodologies

The project followed an iterative development methodology over three academic terms. Requirements were gathered by studying local gym operations and existing tools, then specified, analyzed and prioritized in the SRDS. The design used IEEE 1016 viewpoints including package, deployment, class, ER, sequence and state machine diagrams. Implementation was done in increments (30%, 50%, 70%, 90%, 100%), each delivering a working slice tested end to end. A client-server multi-tenant architecture was used with security and business rules pushed into PostgreSQL through row-level security policies and triggers. The AI Coach is a deterministic rule-based engine using BMI, the Mifflin-St Jeor equation, goal, experience, equipment, injuries, adherence and weight trend. Quality was assured through Jest unit tests, database integration tests, Playwright end-to-end browser tests, Android emulator testing, static checks with TypeScript and ESLint, and a traceability matrix linking requirements to test cases.

Outcome

A fully working multi-tenant gym management platform delivered as a production Next.js web build and a signed Android installer (FitNexus-1.0.0 APK). The system includes portals for Super Admin, Gym Owner, Trainer and Member, a public gym directory with a nearest-gym finder and join requests, local payment recording with per-gym commission, attendance and peak-hour analytics, class booking with live capacity, workout and weight logging with progress charts, reviews with owner replies, real-time in-app notifications and announcements, a moderated Drill Hub, and an AI Coach generating personalized weekly workout and Pakistani diet plans. The backend has 21 PostgreSQL tables and 98 row-level security policies. All 24 system test cases and 32 automated unit tests passed.

Gallery

More from Computer Science

BoatMart Module A

Computer Science

BoatMart is a unified e-commerce platform designed to connect wholesalers, retailers, and customers in one dig…

Supervisor: DR. Saeed ur Rehman

Web-based ERP System for Young's Food (Pvt) Ltd

Computer Science

A web-based ERP for a biscuit and wafer manufacturer that connects purchasing, recipe-based production, invent…

Supervisor: Dr. Sulma Rashid

Ai Resume Screening System

Computer Science

The AI-Based Resume Screening System is an explainable and auditable decision-support platform designed t…

Supervisor: Dr Mamoona Fatima

Fixify: Home Services Marketplace with Agentic Admin Automation

Computer Science

Fixify is an AI-powered home services marketplace that connects customers with verified local professionals, i…

Supervisor: Hassan Sardar