Skip to content

A simple clock in/out system build in flask. This is used to retrieve information based on the user punchcards for work.

Notifications You must be signed in to change notification settings

RobSweny/ClockIn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Clock in System

Flask server for managing a clock in / clock out system

This allows an administrator to check information on the user data based on their working hours
Administrators are the only users available to view data and add new users to the system
Users clock in and data is sent to firebase

- User punch card data

punchcards = {"00001": {"date": str(today), "clock-in": str("08:30:00"), "clock-out": str("17:00:01"), "holiday": False},

Primary functions under:

https://github.com/RobSweny/ClockIn/blob/main/main.py

- Function to check how many employess clocked in today
Enter /PunchCardsDate/string:date" with date as parameter format (%Y%m%d)

class PunchCardsDate(Resource)

- Retrieve list of users who worked less hours then they should

class HoursBelowTime(Resource)

- Retrieve Hours work per worker

class HoursWorked(Resource)

- Retrieve all clock out times

class PunchCardsClockOut(Resource)

- Retrieve all clock in times

class PunchCardsClockIn(Resource)

- Retrieve data from employee based on ID number

class PunchCardsID(Resource)

- Retrieve data from employee based on ID number

class PunchCardsID(Resource)

About

A simple clock in/out system build in flask. This is used to retrieve information based on the user punchcards for work.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published