Skip to content

2005rishabh/pharma

Repository files navigation

PharmaDash

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.

Project Overview

This project is built to demonstrate a modern web application architecture using Next.js, incorporating role-based data visibility and AI-driven features.

Key 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).

Tech Stack

  • Framework: Next.js 15 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui
  • AI/LLM: Google Genkit (Gemini 2.0 Flash)

Getting Started

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd pharma
  2. Install dependencies:

    npm install
  3. Environment Setup: Create a .env file in the root directory and add your Google AI API key for the optimizer to work:

    GOOGLE_GENAI_API_KEY=your_api_key_here
  4. Run the development server:

    npm run dev
  5. Open http://localhost:9002 in your browser.

Usage

  • Login:
    • Email: rishabh.singh@pharmadash.com
    • Password: password
    • (Note: This is a demo credential)

AI Workflow

The Workload Optimizer uses src/ai/flows/optimize-task-loads.ts to process:

  1. Past Task Data
  2. Current Task List
  3. Employee Profiles

It returns an optimized assignment plan, highlighting efficiency gains and workload balance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors