Code Monkey home page Code Monkey logo

employeemanagement's Introduction

Employee Management Prototype

  • Single sign in for both Admin and Employee (used role based access to identify employee and admin)
  • Parallel Dashboard for Employee and Admins to monitor daily tasks 1 2
  • Admin can create Employee credentials and also restrict their activity on the employee
  • Employee and Admin bothe can view their daily and weekly aggregate working hours in forms of pie charts and graph charts 3
  • Frontend Technologies: React Js, Redux, React Charts (pie and bar)
  • Backend Technologies: Node Js, Express JS, Login implemented via (bcrypt.js and JWT Token)
  • Database: MongoDb

Getting Started Locally

  • Step 1 Clone the repo or fork it

  • Step 2 (Run the backend server)

  npm install
  npm run dev

This Will set the backend server for you on localhost:4000

  • Step 3 (Run the frontend server)
  cd dashboard
  npm install
  npm install redux
  npm start

This will set the react server running for you in localhost:3000

Live Web App

Go to: https://employee-management-007.netlify.app/

Folder Structure


--config
   --.env
--controllers
   --AuthControllers.js
--middleware
   --authenticate.js
--models
   --Tasks.js
   --User.js
--routes
  --api.js
  --auth.js
--dashboard (the react-redux code is in this folder)
  --public
    --favicon
    --index.html
    --logo192.png
    --logo512.png
    --manifest.json
    --robots.txt
  --src
    --actions
      --apiActions.js
    --components
      --Admin
        --AddUser.css
        --Dashboard.js
        --Modal.js
        --Setting.js
      --Employee
        --AddTask.css
        --AllTasks.js
        --BarChart.js
        --PieChart.js
        --Dashboard.js
        --Setting.js
      --AdminDashboard.js
      --Dashboard.js.js
      --EmployeeDashboard.js
      --Login.js
    --reducers
      --dataReducer.js
      --userReducer.js
      --rootReducer.js
    --App.css
    --App.js
    --index.js
    --index.css
    --logo.svg
    --reportWebVitals.js
    --setupTests.js
  --cypress
    --files and folders of cypress library
  --cypress.config.js
  --package.json
  --package-lock.json
--.gitignore
--package.json
--package-lock.json
--README
--index.js (root folder for backend)

Deployment

Root Admin Login Credentials

email: [email protected]
password: abcd1234

Employee login credentials

  • Login as root admin
  • Create an Employee credential
  • Logout and relogin using the employee credential that you just created

Sample Employee login credentials

email: [email protected]
password: 1234

employeemanagement's People

Contributors

amanscisingh avatar

Watchers

 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.