Skip to content

ldbach/time-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Tracker

Time Tracker is a simple web application to track time spent on tasks. It allows you to start a session, stop it, and view completed sessions with start time, end time, and duration.

The backend is built with Rust and Axum, and the frontend is built with React. The frontend is deployed to GitHub Pages from the prod branch.


Features

  • Start and stop a timer for work sessions.
  • Live duration counter while a session is running.
  • View completed sessions with start time, end time, and duration.
  • Delete sessions from the session list.
  • Simple REST API backend in Rust (Axum).
  • Responsive frontend in React.

Installation

Clone the repository:

git clone https://github.com/ldbach/time-tracker.git
cd time-tracker

Backend

Build and run the backend (requires Rust and Cargo):

cd time_tracker_backend
cargo run

Frontend

  1. Navigate to the frontend folder
cd time-tracker-backend
  1. Install dependencies
npm install
  1. Run the frontend
npm start

Deployment

The frontend is deployed automatically to GitHub Pages from the main branch. Visit your app at: https://ldbach.github.io/time-tracker/

To deploy manually:

git checkout main
npm run deploy

The backend is deployed on Render and accessible at: https://time-tracker-onge.onrender.com

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Time Tracker — simple web app to track work sessions in real time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published