# mrchahar/time-tracker architecture

> Architecture diagram of the GitHub repository mrchahar/time-tracker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mrchahar/time-tracker
- Repository: https://github.com/mrchahar/time-tracker

## Overview

This is a small Java/Spring time-tracking application. Its visible core keeps time-entry objects in a list managed by Tracker; the configuration defines an empty list bean, and each entry holds a description, rate, and time. The tree also includes a JSP and web deployment descriptor, but their behavior and connection to the core are not shown. The README identifies time tracking as the product, but no user-to-result path is evidenced in the excerpts, so those links are omitted.

Main entry points: [`core/src/main/java/training/taylor/timetracker/core/dao/TimeEntry.java`](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/dao/TimeEntry.java) (Time entry), [`core/src/main/java/training/taylor/timetracker/core/Tracker.java`](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/Tracker.java) (Tracker), [`core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java`](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java) (Core configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web surface"]
  node_page["JSP page<br/>[index.jsp]"]
  node_webconfig["Web descriptor<br/>[web.xml]"]
end

subgraph group_core["Tracking core"]
  node_tracker["Tracker<br/>[Tracker.java]"]
  node_entry["Time entry<br/>[TimeEntry.java]"]
  node_config["Core configuration"]
end

node_user(("User"))

node_tracker -->|"manages entries"| node_entry
node_config -->|"types bean list"| node_entry

click node_page "https://github.com/mrchahar/time-tracker/blob/master/web/src/main/webapp/index.jsp"
click node_webconfig "https://github.com/mrchahar/time-tracker/blob/master/web/src/main/webapp/WEB-INF/web.xml"
click node_tracker "https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/Tracker.java"
click node_entry "https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/dao/TimeEntry.java"
click node_config "https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_page,node_webconfig,node_user toneBlue
class node_tracker,node_entry,node_config toneAmber
```

## Components

### Web surface

- [JSP page](https://github.com/mrchahar/time-tracker/blob/master/web/src/main/webapp/index.jsp): `web/src/main/webapp/index.jsp`
- [Web descriptor](https://github.com/mrchahar/time-tracker/blob/master/web/src/main/webapp/WEB-INF/web.xml): `web/src/main/webapp/WEB-INF/web.xml`

### Tracking core

- [Tracker](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/Tracker.java): `core/src/main/java/training/taylor/timetracker/core/Tracker.java`
- [Time entry](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/dao/TimeEntry.java): `core/src/main/java/training/taylor/timetracker/core/dao/TimeEntry.java`
- [Core configuration](https://github.com/mrchahar/time-tracker/blob/master/core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java): `core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java`

### Other components

- **User**

## Connections

- Tracker → Time entry: manages entries (evidence: `core/src/main/java/training/taylor/timetracker/core/Tracker.java`)
- Core configuration → Time entry: types bean list (evidence: `core/src/main/java/training/taylor/timetracker/core/TrackerCoreConfig.java`)
