PharmaDash is a comprehensive Pharmaceutical Employee Dashboard web application developed for the ApexPlanet internship. It simulates a management system for a pharmacy, providing tools for task management, payroll viewing, order tracking, and intelligent workload optimization.
This project is built to demonstrate a modern web application architecture using Next.js, incorporating role-based data visibility and AI-driven features.
- Dashboard Layout: A responsive sidebar navigation and header system.
- Task Management: View and track status of assigned tasks.
- Order Tracking: Monitor customer orders and delivery statuses.
- Payroll Integration: View monthly earnings, deductions, and net salary.
- Workload Optimizer: An AI-powered tool (integrated with Google Genkit) that analyzes past performance and employee skills to suggest optimal task assignments.
- Authentication: Secure login interface (Simulated).
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- AI/LLM: Google Genkit (Gemini 2.0 Flash)
- Node.js (v18 or higher recommended)
- npm
-
Clone the repository:
git clone <repository-url> cd pharma
-
Install dependencies:
npm install
-
Environment Setup: Create a
.envfile in the root directory and add your Google AI API key for the optimizer to work:GOOGLE_GENAI_API_KEY=your_api_key_here
-
Run the development server:
npm run dev
-
Open http://localhost:9002 in your browser.
- Login:
- Email:
rishabh.singh@pharmadash.com - Password:
password - (Note: This is a demo credential)
- Email:
The Workload Optimizer uses src/ai/flows/optimize-task-loads.ts to process:
- Past Task Data
- Current Task List
- Employee Profiles
It returns an optimized assignment plan, highlighting efficiency gains and workload balance.