Skip to content

Add Gym Management System - Electron + Angular + SQLite#51

Open
coder-contrib-bot wants to merge 1 commit into
masterfrom
feature/gym-management-system
Open

Add Gym Management System - Electron + Angular + SQLite#51
coder-contrib-bot wants to merge 1 commit into
masterfrom
feature/gym-management-system

Conversation

@coder-contrib-bot
Copy link
Copy Markdown

Summary

  • Full-stack Gym Management System built with Electron, Angular 17, and SQLite (via Prisma ORM)
  • Complete offline desktop application with dark mode RTL interface
  • Includes demo mode for web preview without Electron runtime

Features Implemented

Core Modules

  • Authentication: JWT-based login with role-based access (Admin, Reception, Trainer, Accountant)
  • Dashboard: Stats cards + monthly bar charts for subscriptions and revenue
  • Members Management: CRUD with auto QR code generation, search, and filtering
  • Subscriptions: Monthly/quarterly/semi-annual/annual plans with freeze/unfreeze/renew/cancel
  • Attendance: QR code scanning, today's attendance list, live count
  • Trainers: Profile management with specialization and scheduling
  • Store: Product inventory management with categories and stock alerts
  • Payments: Manual payment recording (cash/bank/wallet) with invoice generation
  • Backup: Auto daily backup at midnight + manual backup/restore
  • Settings: General, security, appearance, and user management

Technical Stack

  • Electron main process with IPC handlers for all CRUD operations
  • Angular 17 standalone components with lazy loading
  • Prisma ORM with full SQLite schema (13 models)
  • Tailwind CSS for dark mode RTL styling
  • NgRx for state management (scaffolded)
  • Demo data service for web preview mode

Author

Test plan

  • Angular app builds successfully (ng build)
  • Login page renders and authenticates with Admin/Admin
  • Dashboard displays stat cards and bar charts with demo data
  • Members page shows table with QR codes, statuses, and CRUD actions
  • Attendance page shows QR scanner UI and today's records
  • All navigation routes load correctly
  • Run npm install and npm start in gym-management-system/ directory
  • For Electron: npm run electron:dev (requires Electron binary)

🤖 Generated with Claude Code

Professional gym management desktop application featuring:
- Electron desktop app with secure IPC handlers
- Angular 17 frontend with standalone components
- SQLite database via Prisma ORM
- Member management with auto QR code generation
- Subscription system (monthly/quarterly/semi-annual/annual)
- QR code attendance scanning
- Trainer management with session scheduling
- Product store and inventory management
- Payment system (cash/bank transfer/wallet)
- Auto-backup system (daily at midnight)
- JWT authentication with role-based access
- Dark mode RTL UI with Tailwind CSS
- Demo mode for web preview without Electron

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants