Skip to content

Zerofour04/React-TS-Employee-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥️React-TS-Employee-Management)

ℹ️Information

  • Hey, this project was developed during my internship for a company. Essentially, it aims to represent an employee list that can only be accessed via MSAL authentication. This panel features various functions such as employee locking, invisibility toggling, grouping assignment, and the ability to specify vacation times.
  • To this day, the company actively utilizes this system, providing a centralized and user-friendly solution to enhance teamwork and efficiently manage tasks.
  • Thanks to everyone on the team who assisted me. The project is still being used by the company and is intended to be online on GitHub for learning purposes, accessible only to me.

⭐Features

  • Sidebar
  • Logout Feature
  • Navigation
  • Employee list
  • Search bar
  • Select individual employees
  • Employee management
  • Role management
  • Change Visible
  • Change Blocking
  • Change ActiveEmployee?

🖼️Pictures

How it looks today and further developed

FotoJet (1)

v2.0

v2 0

v2 0-S

v2 0-3

v2 0-2

v1.0

React Bild

📗Installation

  1. cd my-app
  2. npm install
  3. npm start

🧱Requirements & ⚙️Configuration

  • NPM
  • Node.js
  • Microsoft Account
  • MSAL
  • Redux

/src/config/msalConfig.ts

export const msalConfiguration: Configuration = {
    auth: {
        clientId: '',
        authority: ''
    }
};

/public/env-config.js

window._env_ = {
    MISSIONASSIGNMENTS_SERVICE_EXTERNAL_URL: '',
    EMPLOYEE_SERVICE_EXTERNAL_URL: ''    
};

⚠️Your database must contain exactly these values, otherwise, you will have to edit something!

export interface Employee {
    email: string;
    firstName: string | null;
    lastName: string | null;
    fullName: string | null;
    groups: string[] | null;
    acronym: string;
    location: {
        countryIsocode: string;
        regionIsocode: string
    };
    displayName: string;
    active: boolean;
    locked: boolean;
    visible: boolean;
}

🔧Changlogs

v2.0 - Integrated Employee-Locked, Employee-Visible, Employee-Locked and Employee-Active functions - BugFixes - Codecleanup - Design changed
v1.8 - Roles can be removed/added
v1.6 - Integrated select Employee and Sidebar
v1.2 - Pre-release
v1.0 - Added Sidebar - Added Navigation - Reworked LogOut - Fixed some bugs
v0.8 - Updated Header - Added Dropdown menu - Changed design
v0.5 - Reworked the repo
v0.4 - Fixed LogOut
v0.3 - Created header
v0.3 - Integrated MSAL