Fitness Care
A full-stack MERN (MongoDB, Express, React, Node.js) based Gym Management web application with role-based access (Admin, Trainer, Member). It includes trainer booking, slot management, class management, forums, newsletters, and JWT-secured private routes.

Feature
- ā Role Based Authentication & Authorization
Firebase Authentication with Email/Password & Google Login. JWT issued from backend and stored securely in localStorage. Private Routes secured with JWT (401/403 implemented).
- ā Roles & Dashboard
Admin: Manage trainers, approve/reject trainer applications, add new classes, view newsletter subscriptions, manage balance. Trainer: Apply to be trainer, manage slots, add forums. Member: Book trainers, view booked classes, interact in forums, subscribe to newsletter.
- ā Dynamic Home Page
š Featured Classes Section (with motion animations). š Team Section showing top 3 trainers (from backend). š Latest Forum Posts showing recent posts with links. š Newsletter Subscription form.
- ā Forums (Community Section)
Post, vote (upvote/downvote), and view details of forum posts. Paginated list with sorting by latest.
- ā Trainer Details & Booking
View trainers, their expertise, and available slots. Book slots and proceed to Stripe-based payment.
- ā Stripe Payment Integration
Select membership packages (Basic, Standard, Premium). Save payment info to backend.
- ā Fully Responsive UI
Built with TailwindCSS & Material Tailwind with gradients and animations (Framer Motion).
š ļø Tech Stack
- Frontend:
āļø React (with Vite) š¦ TanStack Query (React Query) šØ TailwindCSS + Material Tailwind š React Router ⨠Framer Motion (animations) š„ Firebase Authentication
- Backend:
š Node.js & Express.js š MongoDB (with Mongoose) š JWT Authentication š”ļø Role-based API Protection
- Others:
š³ Stripe for payments š® Newsletter Management āļø Deployed on Firebase (Frontend) & Render/Vercel (Backend)
- Backend Repo
backend: git clone https://github.com/gaziraihan1/fitness-care-server.git
Project Gallery







