Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.5 KB

File metadata and controls

36 lines (27 loc) · 1.5 KB

Overview

This program is designed to use a database to track employee training.
Please note, this program has minimal error checking and needs to be optimzed.

It currently has the the following functions:

  • Adding and removing training hours
  • Adding and removing employees
  • Checking employee status
  • Updating employee status

Development Environment

You will need to install Firebase Admin into your environment to connect to your database. You will also need the credentials for your database. You get this from your database website. It comes in a JSON file.

Below are also what I used for my env:

  • Visual Studio Code
  • Python 3.8.5

Execution

Download the program and find your JSON credentials. You will need to update the path in your program to where your own credentials are located.

Additionally, you MUST have Firebase Admin in your environment.

Execution of the program: python EmployeeHours.py
The first section displays adjusting hours.
The second shows how to check and update training status.
The third adds and deletes employees.

Program screenshot displaying adding training hours
Program screenshot displaying status updates
Program screenshot displaying adding/removing employees

Useful Websites

  1. Python Reference
  2. Firebase Documentation
  3. Firebase Admin