/time-tracker

Simple time tracking application for time logged using Hubstaff V1 API

Primary LanguagePython

Time Tracking Tool

Build Status

Using Hubstaff V1 API

Prerequisites

To run this project locally, you need the following;

  • Python - installed locally
  • Create a .env file and populate it with env variables according to the .env.sample file
  • git is necessary if the repository is to be cloned, otherwise it can also be downloaded as a zip file

NOTE:

  • App may not run properlyif the required environment variables are not set up, especially the email report feature

Set Up

  • Clone the repository

run git clone https://github.com/cdvx/time-tracker

  • Cd into project

cd time-tracker

  • Run the start-api.sh script to set up project for the first time

bash start-api.sh

  • Project can easily be run later on by running

bash run-api.sh

  • To kill the app and running processes, run

bash stop-app.sh

  • Test the application

Go to home

  • Run tests with

pytest --cov=api