

Healthy Zone
Master ERP System for Pharmaceutical Industry
Project Overview
Healthy Zone is a comprehensive Enterprise Resource Planning (ERP) system built from the ground up for pharmaceutical sales, distribution, and management. As the sole developer since 2019, I've continuously evolved this system to handle complex business workflows, real-time data processing, and seamless integration with multiple external systems.
Key Features
Sales Management
Complete sales pipeline from quotations to invoices, with multi-currency support and automated pricing rules
Inventory Control
Real-time inventory tracking across multiple warehouses with batch/serial number management and expiry date monitoring
Distribution Management
Route optimization, delivery tracking, and fleet management with GPS integration
Financial Management
Complete accounting system with general ledger, accounts payable/receivable, and financial reporting
Customer Relationship
CRM with customer history, credit limits, and automated follow-up workflows
Real-Time Dashboard
Interactive dashboards with live KPIs, sales analytics, and inventory insights
Multi-User System
Role-based access control with detailed permissions and audit trails
External Integrations
Integration with tax authority, payment gateways, and third-party logistics
System Preview

Employee Dashboard - Real-time analytics, sales tracking, and inventory management
HR & Employee Management
Complete employee lifecycle management with role-based access control and performance tracking

All Employees List
View and manage your entire workforce from a centralized dashboard. Advanced search and filtering capabilities make it easy to find employees by department, role, location, or custom criteria. The intuitive interface provides quick access to employee information and common HR actions.
- Real-time employee directory with advanced search and smart filters
- Filter by department, role, location, status, and custom fields
- Batch operations for common HR tasks and bulk updates
- Export employee lists and generate custom reports
Employee Profile
Access complete employee information in a beautifully designed profile view. The global dialog system allows you to view and edit employee details from anywhere in the application without losing context. Every piece of information is organized logically for quick access and efficient management.
- Comprehensive profile with personal, job, and contact information
- Global dialog accessible from anywhere in the system
- Quick edit mode for updating employee information
- Activity timeline showing all employee-related events


Job Details
Manage all job-related information including position, department, reporting structure, and responsibilities. Track career progression, salary history, and performance metrics all in one place. The system automatically maintains a complete history of all job changes for compliance and reporting.
- Complete job information with position, department, and hierarchy
- Salary history and compensation tracking with approval workflows
- Performance metrics and KPI tracking integrated with profiles
- Automatic audit trail for all job-related changes
File Storage
Store and manage all employee documents in a secure, centralized system. From contracts and certificates to performance reviews and compliance documents, everything is organized and easily accessible. Advanced permissions ensure that sensitive documents are only visible to authorized personnel.
- Secure cloud storage for all employee documents and files
- Organize files by categories: contracts, certificates, reviews, and more
- Role-based access control for sensitive documents
- Version history and document expiration reminders


Add Files
Upload multiple documents with a simple drag-and-drop interface. The system automatically organizes files by type, validates document formats, and sends notifications to relevant stakeholders. Bulk upload capabilities make onboarding and annual reviews much faster.
- Drag-and-drop file upload with bulk upload support
- Automatic file categorization and metadata extraction
- Real-time upload progress with error handling
- Automatic notifications to employees and HR team
Create New Employee
Streamline your onboarding process with a comprehensive employee creation workflow. Guide new hires through every step from personal information to job details, documents, and system access. The wizard-style interface ensures nothing is missed and creates a complete employee record ready for immediate use.
- Step-by-step onboarding wizard with validation at each stage
- Auto-generate employee ID and email based on company policies
- Set up permissions, roles, and access rights during creation
- Automated welcome emails and task assignments for new hires

Customer Account Statement
Professional financial transaction tracking and reporting system for customer accounts

Transaction History
View all customer financial transactions in a beautifully designed interface. The system displays every transaction with complete details including date, amount, balance before/after, transaction type, and employee information. Advanced filters allow you to quickly find specific transactions by date range, type, or amount.
- Real-time transaction list with instant balance updates
- Filter by date range, transaction type, employee, and amount
- View balance before and after each transaction with visual indicators
- Quick action buttons: Reverse order, Export to Excel, Export to PDF, Refresh
Balance Summary
A comprehensive summary panel showing the customer's current balance, credit/debit totals, and account status. The interface uses color-coded indicators for quick understanding: red for debit balances and green for credit balances. All amounts are updated in real-time as transactions occur.
- Current balance displayed prominently with clear formatting
- Visual indicators for debit (red) and credit (green) balances
- Total transactions count and date range display
- Account status and customer information at a glance


Professional PDF Export
Generate professional PDF reports for customer account statements with your company branding. The PDF includes complete transaction history in a clean table format with alternating row colors for readability. Perfect for sending to customers, accountants, or for record-keeping purposes.
- Company header with logo and full business information
- Customer details with account code and date range
- Opening and closing balance highlighted in colored boxes
- Professional table with alternating row colors (white/pink)
- Complete columns: Number, Date, Transaction Type, Balance Before, Amount, Balance After
- Optimized for printing and digital sharing
Items & Inventory Control
Comprehensive inventory management system with real-time stock tracking, analytics, and intelligent alerts

Items Management
Manage your entire product catalog from a single, powerful interface. The system displays all items with current stock levels, pricing, and availability status. Advanced search and filtering make it easy to find any product instantly. Each item shows critical information including stock quantity, price, and low-stock alerts.
- Real-time inventory list with instant search and smart filters
- Stock level indicators with color-coded alerts (low stock, out of stock)
- Price management with multi-currency support
- Batch operations for bulk price updates and stock adjustments
- Quick access to item details, sales history, and reorder points
Market Analysis Dashboard
Get instant insights into your inventory performance with powerful analytics. The dashboard shows key metrics including best-selling items, slow-moving stock, profit margins, and inventory turnover rates. Visual charts and graphs make it easy to identify trends and make data-driven decisions.
- Real-time inventory statistics and KPIs
- Best-selling and slow-moving items analysis
- Stock level trends and turnover rates
- Profit margin analysis by product category
- Automated alerts for reorder points and stock anomalies

Store Offers & Promotions
Smart promotional campaign management system with analytics and performance tracking

Offers Dashboard
Design and launch promotional campaigns in minutes. The offers dashboard shows all active promotions with real-time performance metrics including number of customers, conversion rates, and revenue impact. Track weekly offers, seasonal sales, and special promotions all in one place.
- Create multiple offer types: weekly, monthly, seasonal, and flash sales
- Real-time tracking of customers and sales per offer
- Performance metrics showing conversion rates and growth percentages
- Color-coded offer cards for easy visual organization
- Schedule offers in advance with automatic activation/deactivation
Campaign Performance
Measure the success of every promotional campaign with detailed analytics. See how many customers engaged with each offer, track conversion rates, and compare performance across different time periods. Visual indicators show growth trends and help identify the most effective promotions.
- Real-time customer engagement metrics for each offer
- Conversion rate tracking with percentage change indicators
- Compare performance across different offer types
- Revenue impact analysis showing profit margins
- Customer segment analysis to optimize targeting

Supplier Management & Control
Comprehensive supplier relationship management with classification, tracking, and performance analytics

Supplier Directory
Manage your entire supplier network from a single powerful interface. The system maintains detailed profiles for every supplier including contact information, categories, and transaction history. Advanced search and filtering make it easy to find any supplier instantly. Track supplier classifications (A, B, C, D grades) for better purchasing decisions.
- Complete supplier directory with 545+ active suppliers in the system
- Supplier classification system (A, B, C, D grades) for performance tracking
- Real-time statistics: linked suppliers, unassigned suppliers, and total counts
- Quick actions: view details, manage classifications, and transaction history
- Advanced search and filtering by name, category, or classification
Supplier Analytics & Insights
Get comprehensive insights into your supplier network with powerful analytics. Track supplier performance by classification grade (A, B, C, D), monitor purchase volumes, and identify your top suppliers. The dashboard shows real-time statistics including total suppliers, linked suppliers, and unassigned suppliers with visual percentage indicators.
- Performance categorization with A, B, C, D grade classifications
- Real-time supplier statistics and KPIs at a glance
- Visual breakdown showing supplier distribution by category
- Track unassigned suppliers (190) and linked suppliers (100% coverage)
- Filter and view data by required categories for better insights

Real-Time Notifications System
Smart notification center with real-time updates, categorization, and intelligent filtering

Notification Center
Stay informed with a comprehensive notification center that keeps you updated on all important events. The system displays notifications with rich context including user avatars, timestamps, action buttons, and categorization. Track 569+ unread notifications with smart filtering options to focus on what matters most.
- Real-time notification feed with 569+ unread alerts tracking
- Rich notifications with user avatars, timestamps, and context
- Smart categorization by type: Client, Telesales, CustomerMap, etc.
- Quick actions: Mark as Read, Expand details, and more
- All/Unread tabs for efficient notification management
Smart Filtering & Organization
Manage notifications efficiently with intelligent filtering and categorization. The system automatically organizes notifications by type, priority, and status. Filter between all notifications and unread items with a single click. Each notification shows time elapsed (13 hours ago, 14 hours ago) for better context and priority management.
- Automatic categorization by module and event type
- Filter by All (+99) or Unread notifications instantly
- Time-based organization showing elapsed time for each alert
- Badge notifications with count indicators for quick overview
- Mark all as read functionality for bulk actions

Application Version Control
Comprehensive release management system with version history tracking and deployment control

Version Management
Maintain complete control over your application releases with a comprehensive version management system. Track all deployed versions from the latest 3.11.0 to historical releases like 3.2.10. The system displays the current active version with clear indicators, release dates, and direct access to version details. Manage 10+ releases with full visibility into your deployment history.
- Current version tracking with visual indicators (v3.11.0 active)
- Complete version history with chronological ordering
- Release date and time tracking for audit trails
- Quick access to version details with 'Click for details' links
- Version status badges: Current, New, Historical
Deployment & Release Control
Deploy new releases with confidence using the integrated deployment control system. Create new releases with a single click, manage version increments automatically, and maintain deployment logs. The system supports rollback to previous versions if needed, ensuring zero downtime and seamless updates for your users.
- One-click new release deployment with automated versioning
- Staged rollout support for gradual deployment
- Rollback capabilities to any previous version
- Deployment logs and change tracking for compliance
- Version comparison and diff viewing between releases

Technology Stack
Frontend

React 19
Modern UI with hooks and concurrent features

TypeScript
Type-safe development
Vite
Lightning-fast build tool

TanStack Query
Server state management

TanStack Table
Advanced data tables

Zustand
Lightweight state management
Tailwind CSS
Utility-first styling

Radix UI
Accessible components
Backend

NestJS
Enterprise Node.js framework

TypeScript
Type-safe server code
MongoDB
Document database
PostgreSQL
Relational database
Redis
Caching and session management
Socket.io
Real-time communication
MQTT
IoT messaging
RabbitMQ
Message queuing
Technical Challenges & Solutions
Real-Time Inventory Synchronization
Solution: Implemented WebSocket-based updates with optimistic UI updates and automatic conflict resolution
Complex Reporting Requirements
Solution: Built flexible report engine with dynamic filters, exports, and scheduled generation
Multi-Warehouse Management
Solution: Designed distributed inventory system with automatic stock allocation and transfer workflows
Performance with Large Datasets
Solution: Implemented virtual scrolling, pagination, and database indexing strategies
Business Impact
Development Timeline
Initial Launch
Core sales and inventory modules
Modern Stack Migration
Migrated to React and NestJS
Distribution System
Route planning and fleet management
Tax Integration
Egyptian Tax Authority e-invoicing
Real-Time Features
WebSocket integration and live updates
React 19 Upgrade
Latest React features and performance improvements