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.
- 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.
Clone the repository:
git clone https://github.com/ldbach/time-tracker.git
cd time-trackerBuild and run the backend (requires Rust and Cargo):
cd time_tracker_backend
cargo run- Navigate to the frontend folder
cd time-tracker-backend- Install dependencies
npm install- Run the frontend
npm startThe 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 deployThe backend is deployed on Render and accessible at: https://time-tracker-onge.onrender.com
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.