Coder Social home page Coder Social logo

factory.backend.project's Introduction

Factory Management System

Welcome to the Factory Management System! This system is designed to help manage employees, departments, and shifts within a factory setting. Below are the details of the system architecture and the various pages it includes.

Link to overview project

Running In Production Video

image

System Architecture

  • Server: Node.js + Express
  • Database: MongoDB
  • Frontend: HTML pages with native JavaScript

Pages

Login Page

  • Users must log in with their username and email.
  • Authentication is handled using JWT and verified against jsonplaceholder.
  • Once logged in, the user's Full Name is displayed on every page.
  • Includes a "Log-Out" link to redirect the user back to the Log-In Page.

Employees Page

  • Displays a table with all employee data, including Full Name, Department, and shifts.
  • Each employee's Full Name is a link that redirects to the "Edit Employee" page.
  • Each Department name is a link that redirects to the "Edit Department" page.
  • Includes a "New Employee" button to redirect to the "Add Employee" page.
  • Provides a dropdown to filter employees by department.

Edit Employee Page

  • Allows editing of selected employee data.
  • Includes buttons to update or delete employee data.
  • Displays a table with all shifts for the selected employee.
  • Provides an option to register the employee to an existing shift.

New Employee Page

  • Allows creation of a new employee, including department assignment.
  • Includes "Save" and "Cancel" buttons.

Departments Page

  • Displays a table with all department data, including Department name, Manager name, and employees.
  • Each Employee's Full Name is a link that redirects to the "Edit Employee" page.
  • Each Department name is a link that redirects to the "Edit Department" page.
  • Includes a "New Department" button to redirect to the "Add Department" page.

Edit Department Page

  • Allows editing of selected department data.
  • Includes buttons to update or delete department data.
  • Provides a dropdown to add employees to the department.

New Department Page

  • Allows creation of a new department.
  • Includes "Save" and "Cancel" buttons.

Shifts Page

  • Provides options for creating and modifying shifts.
  • Allows allocation of employees to shifts.
  • Shifts cannot be deleted.

Users Page

  • Displays a table with all user data.
  • Each row represents a user with their name, maximum actions allowed, and current actions allowed for the day.
  • User data cannot be changed or deleted.

Logging

  • Logs all user actions, such as viewing pages, adding departments, and deleting employees, in a JSON file on the server.
  • Users are logged out when they reach their maximum allowed actions for the day.

factory.backend.project's People

Contributors

liorsil avatar

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.