A web portal for running a gym or fitness center: members, enquiries, payments and renewals, receipts, refunds and business reports, all in one dashboard.
📖 Read the User Manual for a screen-by-screen guide.
- Members: registration with webcam or uploaded photo, search, and full membership and invoice history
- Enquiries: capture walk-ins and calls, with configurable enquiry reasons
- Payments and renewals: plan selection by workout and installment, tax calculation, partial payments with balance tracking, and automatic next-renewal dates
- Receipts: view, print or reprint any invoice
- Refunds: issue and track refunds against a payment
- Reports: 11 reports, including renewals due/lapsed, outstanding balances, tax summary and staff collection, with CSV export and Tally export
- Administration: workouts, installment plans, tax rates, membership types, roles, users and company settings
- Role-based access: Admins see everything; front-desk roles see day-to-day screens only
![]() Members |
![]() Add Member |
![]() Payments & renewals |
![]() Printable receipt |
![]() Enquiries |
![]() Refunds |
![]() Reports — Renewals Due / Lapsed |
![]() Membership Types |
![]() Users |
![]() Sign in |
More screenshots of every screen and report are in the User Manual.
| Part | Folder | Technology |
|---|---|---|
| Frontend | OneFitnessUI |
Next.js 16, React 19, TypeScript, Tailwind CSS 4 |
| Backend API | OneFitnessAPIs |
ASP.NET Core Web API, Entity Framework Core, JWT authentication |
| Database | — | SQL Server (default) or PostgreSQL |
- .NET 10 SDK and the EF Core tools (
dotnet tool install --global dotnet-ef) - Node.js 20 or newer
- SQL Server (or PostgreSQL)
cd OneFitnessAPIs
cp OneFitness.API/appsettings.Development.example.json OneFitness.API/appsettings.Development.jsonEdit OneFitness.API/appsettings.Development.json and set Jwt:Key to a long random secret (64+ characters). This file is git-ignored, so keep secrets here, not in appsettings.json.
Check the connection string and DatabaseProvider (SqlServer or PostgreSql) in appsettings.json.
Create the database by applying the migrations (use PostgreSqlApplicationDbContext for PostgreSQL):
dotnet ef database update --project OneFitness.Repository --startup-project OneFitness.API --context SqlServerApplicationDbContextThen start the API:
cd OneFitness.API
dotnet runThe API listens on http://localhost:5284.
No login account is created automatically. Add the first Admin user to the database before signing in. After that, further users can be created from the Users screen.
cd OneFitnessUI
npm install
npm run devOpen http://localhost:3000 and sign in.
To point the UI at a different API, set NEXT_PUBLIC_API_BASE_URL in OneFitnessUI/.env.local:
NEXT_PUBLIC_API_BASE_URL=http://localhost:5284/api









