Back to projects

Admin / Dashboard

Admin Panel — Health & Wellness Marketplace

A robust admin dashboard for managing users, professionals, bookings, content, payments, and reports in the Health & Wellness ecosystem.

Role
Lead Developer
Year
2024
Admin Panel — Health & Wellness Marketplace project

🩺 Admin Panel — Health & Wellness Marketplace


The Admin Panel serves as the centralized control system of the Health & Wellness Marketplace Application, empowering platform administrators and business operators to manage every critical aspect of the ecosystem efficiently.

Designed for scalability, usability, and performance, the admin dashboard provides a single interface through which authorized personnel can monitor user activities, onboard wellness professionals, manage bookings, moderate content, handle payments, and gain insights through analytics — all within a secure, role-based framework.


🧭 Purpose and Objectives

The Admin Panel was developed with three major goals in mind:

  1. Operational Efficiency Provide a unified system to handle user and professional management, bookings, and financial transactions with ease. Every action—from approving a new trainer profile to refunding a failed transaction—is performed instantly and securely.

  2. Data Transparency & Decision Support Offer actionable insights through real-time dashboards and analytics. Metrics like active users, completed sessions, total revenue, and service ratings help administrators identify trends and optimize performance.

  3. Security & Compliance Manage sensitive user and payment data securely with strong authentication, encryption, and access controls. Each admin action is logged for accountability and audit purposes.


⚙️ Key Functional Modules

The Admin Panel consists of multiple modules that serve specific administrative functions. Each module is accessible through the main sidebar, with access managed by role-based permissions.

1. Dashboard

A real-time overview of platform activity:

  • Displays charts for user growth, bookings, and revenue.
  • Provides summary widgets for performance tracking.
  • Includes recent activity logs for transparency.

2. User Management

Complete control over customer profiles:

  • Search, filter, and view user information.
  • Suspend, restore, or reset passwords.
  • Access booking history and wallet data.
  • Send promotional notifications directly.

3. Professional Management

Handles onboarding and verification of wellness professionals:

  • Approve or reject professional applications.
  • Verify submitted certificates and IDs.
  • Assign professionals to service categories (Yoga, Nutrition, etc.).
  • Monitor ratings, earnings, and service history.

4. Booking & Transaction Management

Centralized view of all bookings and payments:

  • Track booking lifecycle from “Pending” to “Completed.”
  • Issue refunds and monitor payment gateway statuses.
  • Analyze transaction trends and reconcile failed payments.

5. Content & Service Moderation

Maintain platform integrity and compliance:

  • Review and approve service listings and descriptions.
  • Edit or delete inappropriate or misleading content.
  • Enforce category-level publishing rules.

6. Promotions & Coupons

Empower marketing teams with flexible promotions:

  • Create coupon codes and discount campaigns.
  • Define expiry dates, usage limits, and target users.
  • Analyze campaign performance via analytics dashboards.

7. Reports & Analytics

Comprehensive reporting tools for business intelligence:

  • Generate daily, weekly, or monthly summaries.
  • Export data as CSV or PDF for external review.
  • Identify top-performing professionals and services.
  • Visualize engagement across locations and categories.

8. Role-Based Access & Permissions

Access control built on RBAC (Role-Based Access Control) principles:

  • Super Admin: Full system control.
  • Moderator: Content and user management.
  • Finance Admin: Payment operations and refunds.
  • Support Staff: Restricted access for queries.

All actions are logged in an Audit Trail for monitoring and compliance.

9. Notifications & Alerts

Instant alerts for critical events:

  • Payment failures, new professional signups, and flagged content.
  • Delivered through in-app pop-ups, email, or SMS.
  • Integrated with AWS SNS for scalable notifications.

🛠️ Technical Implementation

The Admin Panel is built as a single-page web application (SPA) with a React frontend and Node.js/Express backend. It uses MongoDB for data persistence and integrates AWS services for cloud scalability.

Frontend — React

  • Built using modern React hooks and context API.
  • Protected routes with JWT authentication.
  • Data fetching with Axios and error handling middleware.
  • Responsive design with Tailwind CSS and reusable component styles.
  • Real-time charts using Chart.js or Recharts.

Backend — Node.js + Express

  • RESTful API architecture with clear route segregation.
  • Authentication handled by JWT + Refresh Tokens.
  • Integrated with Razorpay API for payment processing.
  • Middleware-based input validation and rate limiting.
  • Logging with Winston and monitoring via AWS CloudWatch.

Database — MongoDB

  • Mongoose ODM for schema definition and validations.
  • Indexed queries for faster lookups in large datasets.
  • Aggregation pipelines for analytics and reports.
  • Replication enabled for high availability and backups.

AWS Cloud Integration

  • AWS S3 for media storage (documents, profile photos).
  • AWS Lambda for background jobs (emails, cleanup).
  • AWS CloudWatch for performance monitoring.
  • IAM roles to control inter-service permissions.

🔒 Security & Performance

Security and reliability are fundamental to the Admin Panel’s design.

Security

  • Encrypted data at rest and in transit (HTTPS).
  • CSRF, XSS, and SQL injection protection.
  • Token-based authentication and session expiration.
  • Admin audit logs for every CRUD operation.
  • Role-level privilege management for safety and compliance.

Performance

  • Cached queries using Redis for frequently accessed data.
  • Lazy loading and pagination on large tables.
  • API request optimization and batching for dashboards.
  • Lighthouse performance score above 90 on modern browsers.

📊 Business Impact

The Admin Panel has streamlined business operations and improved efficiency across the organization:

  • Reduced manual workload by 60% through automation.
  • Faster professional onboarding via document verification workflows.
  • Improved transparency with real-time dashboards and KPIs.
  • Enhanced trust with secure data handling and traceable actions.

The intuitive design enables non-technical team members to manage operations effectively, while developers can extend the platform easily due to its modular architecture.


💡 Design Philosophy

The Admin Panel follows clean UX principles with:

  • Light and dark mode options.
  • Consistent typography and color palette.
  • Intuitive navigation with collapsible sidebar.
  • Mobile-responsive layout for tablets and laptops.
  • Toast notifications and confirmation modals for user actions.

Each component was designed for reusability, using a component-driven architecture in React, making it easy to scale and customize as business needs evolve.


🧩 Scalability & Maintenance

The system architecture supports:

  • Horizontal scaling through AWS load balancing.
  • Modular microservice APIs for independent deployment.
  • Environment-specific configurations for dev, test, and prod.
  • Continuous Integration/Deployment (CI/CD) pipelines using GitHub Actions.

Automated test coverage includes unit tests (Jest), integration tests, and end-to-end flows (Cypress).


🚀 Future Enhancements

Planned upgrades include:

  • AI-based anomaly detection in transaction data.
  • Chat-based admin support assistant using NLP.
  • Multi-language support for global operations.
  • Advanced analytics integration with Power BI or Grafana.
  • Mobile admin companion app using React Native.

🧱 Summary

The Admin Panel is not just a dashboard — it’s the command center of the entire Health & Wellness Marketplace ecosystem. From managing users to overseeing financials, moderating content, and extracting data insights, it provides the tools needed to operate efficiently, securely, and intelligently.

It is a robust, scalable, and modern control system built to evolve alongside the business.


Tech Stack: React, Node.js, MongoDB, AWS

Key features

  • Dashboard Analytics
  • User & Professional Management
  • Booking & Transaction Reports
  • Role-Based Access Control
  • Promotions and Coupon Engine