Coder Social home page Coder Social logo

employeeanalysis-chromeextension's Introduction

EmployeeAnalysis-ChromeExtension

This Chrome extension simplifies employee search by leveraging a local backend to query text selections. It provides employee profiles and charts for singular matches, and displays lists for multiple matches.

chromeEmpl.mp4

Table of Contents

Key Features

  • Utilizes a local backend for efficient text search operations.
  • Offers streamlined access to employee details and visualizations.
  • Rapid response to search requests, enhancing user productivity.
  • Intuitive user interface ensures smooth navigation and interaction.

Approach and Flow

  1. Repository Setup:

    • Create a new GitHub repository for your Chrome extension.
    • Initialize the repository with a README.md file to provide an overview of the project.
  2. Project Structure:

    • Define the project structure. For example:
      /backend
      /chrome-extension
          /src
            /assets
            /containers
            /pages
              /background
              /content
              /popup
          manifest.json
          README.md
      /data
      
  3. Manifest File:

    • Create a manifest.json file to configure the Chrome extension.
    • Define permissions, background scripts, content scripts, popup pages, etc., as required.
  4. Background Script:

    • Implement the background script to handle text selection events and communicate with the backend.
    • Set up message passing between the background script and other components.
  5. Content Script:

    • Develop the content script responsible for extracting selected text and sending it to the background script. -Added an EventListener that checks if a double-click event occurs on a webpage, and then injects the panel with selected text using ReactDOM
  6. Popup Page: -Added a button that, when clicked, creates a panel to the right.

  7. Backend Setup:

    • Set up a local backend using Node.js to handle employee search queries.
    • Implement APIs or routes to receive search queries and return employee data .
    • This also includes chart needed API'.
  8. Employee Profiles and Charts:

    • Design the employee profile format and determine what information to display (e.g., firstName, age, experience,salary, etc.).
    • Selected appropriate chart libraries (e.g., react-) for visualizing employee data.
    • Develop components to generate and display charts based on employee data.
  9. Multiple Matches Handling:

    • Determine how to handle scenarios where there are multiple matches for a search query.
    • Design and implement a UI to display lists of multiple matches, allowing users to select the desired employee.

Prerequisites

  • Node.js - Ensure you have Node.js installed on your machine. You can download it from here.
  • MongoDB - Install MongoDB and ensure it's running on your machine. You can download it from here.

Installation

  1. Clone the Repository
   git clone https://github.dev/akshaj65/EmployeeAnalysis-ChromeExtension.git
  1. Backend Installation

    Please see the Backend README.md.

  2. Client Installation

    Please see the Client README.md.

employeeanalysis-chromeextension's People

Contributors

akshaj65 avatar

Watchers

 avatar

Forkers

charkhaniakash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.