A modern, full-stack gym management platform with AI-powered features, stunning UI, and comprehensive admin dashboard.
- AI Workout Generator - Personalized workout plans using Google Gemini AI
- AI Nutrition Calculator - Custom meal plans based on user goals
- AI Membership Recommender - Smart membership suggestions
- Body Tracker - BMI calculator with health insights
- Secure authentication with bcrypt
- User profiles and dashboards
- Order history tracking
- Membership management
- Modern glassmorphism UI with gradients
- Real-time statistics and analytics
- User and membership management
- Order tracking system
- Revenue analytics
- Product catalog
- Shopping cart
- Order management
- Payment gateway integration (Razorpay)
- Multiple fitness classes (Yoga, HIIT, Zumba, etc.)
- Real-time enrollment tracking
- Instructor information
- Capacity management
- Multiple tiers (Basic, Pro, Premium)
- Free day pass/trial
- Admin approval workflow
- Automatic expiry tracking
- React 18 - UI library
- Vite - Build tool
- React Router - Navigation
- React Icons - Icon library
- CSS3 - Styling with glassmorphism
- Node.js - Runtime
- Express - Web framework
- MongoDB Atlas - Cloud database
- Mongoose - ODM
- bcryptjs - Password hashing
- Google Gemini AI - AI features
- Docker - Containerization
- Jenkins - CI/CD pipeline
- Git - Version control
- Node.js 20+
- MongoDB Atlas account
- Google Gemini API key
git clone https://github.com/Sumant3086/ReactAuraFit.git
cd ReactAuraFitFrontend:
npm installBackend:
cd server
npm installImportant: Never commit .env files to Git!
Create environment files from examples:
# Frontend environment
cp .env.example .env
# Backend environment
cp server/.env.example server/.envEdit the .env files with your actual credentials:
Frontend (.env):
REACT_APP_API_URL=http://localhost:5000/api
REACT_APP_ADMIN_EMAIL=your_admin_email
REACT_APP_ADMIN_PASSWORD=your_admin_password
REACT_APP_RAZORPAY_LINK=your_razorpay_linkBackend (server/.env):
MONGODB_URI=your_mongodb_connection_string
GOOGLE_API_KEY=your_google_gemini_api_key
ADMIN_EMAIL=your_admin_email
ADMIN_PASSWORD=your_admin_password
JWT_SECRET=your_jwt_secretAdd sample users:
cd server
node seedUsers.jsAdd custom user:
node addUser.jsBackend:
cd server
npm startFrontend:
npm run devVisit: http://localhost:5173
- Signup:
/signup- Create new account - Login:
/login- Access your dashboard - Shop:
/shop- Browse products - Classes:
/classes- Book fitness classes - Pricing:
/pricing- Purchase memberships - Features:
/features- AI-powered tools
- Login:
/admin/login- Email:
sumant@gmail.com - Password:
sumant3086
- Email:
- Dashboard:
/admin/new-dashboard
ReactAuraFit/
βββ src/
β βββ components/
β β βββ admin/ # Admin dashboard
β β βββ auth/ # Login/Signup
β β βββ features/ # AI features
β β βββ shop/ # E-commerce
β β βββ classes/ # Class booking
β β βββ orders/ # Order management
β β βββ ...
β βββ context/ # React context
β βββ services/ # API services
β βββ App.jsx
βββ server/
β βββ models/ # MongoDB schemas
β βββ routes/ # API routes
β βββ services/ # Business logic
β βββ server.js
βββ package.json
- Glassmorphism design
- Real-time statistics
- Gradient animations
- Responsive layout
- Google Gemini API
- Personalized recommendations
- Natural language processing
- Smart algorithms
- Password hashing
- Protected routes
- Admin authentication
- Input validation
# Build and run with Docker Compose
docker-compose up -dPOST /api/auth/signup- Register userPOST /api/auth/login- Login user
GET /api/memberships- Get all membershipsPOST /api/memberships/purchase- Purchase membershipPATCH /api/memberships/:id/approve- Approve membership
GET /api/orders/user/email/:email- Get user ordersPOST /api/orders- Create order
GET /api/admin/stats- Dashboard statisticsGET /api/admin/users- Get all usersGET /api/admin/orders- Get all orders
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
This project is licensed under the MIT License.
Sumant Yadav
- GitHub: @Sumant3086
- Project: ReactAuraFit
- Google Gemini AI for AI features
- MongoDB Atlas for cloud database
- React community for amazing tools
- All contributors and supporters
For support, email sumantyadav3086@gmail.com or open an issue.
β Star this repo if you find it helpful!
