GitHunt
TA

tarekul/Wage-Overtime-Checker

Wage Overtime Checker

A simple Flask app to check if your pay matches expected wages including overtime. Includes automated tests with pytest.

Setup

  1. Clone the repository
git clone <your-repo-url>
cd wage_overtime_checker
  1. Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt

Run the server

python app.py

Run Tests

pytest

This will run the automated tests in test_app.py.

Usage
Send a POST request to /check-pay with JSON:

{
  "hoursWorked": 50,
  "hourlyRate": 15,
  "totalPayReceived": 750
}

Contributors

Created September 23, 2025
Updated September 26, 2025