Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Dev Activity Tracker

A proof of concept application built with **Spring Boot (Java 21)** and **Angular**, used to track development projects and their related activities.
The backend provides a REST API for creating projects and logging activity sessions, while the frontend offers a clean UI for viewing and managing that data.

### Backend
- Java 21
- Spring Boot 3.3
- Spring Web, Spring Data JPA, H2
- Maven

### Frontend
- Angular
- Standalone components
- TypeScript

---

## Getting Started

### Clone the repository

```

mvn clean spring-boot:run
Backend runs at:
http://localhost:8080
H2 Console:
http://localhost:8080/h2-console

Frontend Setup
cd frontend/activity-tracker-ui
npm install
npm start
Frontend runs at:

http://localhost:4200
Project Structure

backend/ → Spring Boot REST API
frontend/ → Angular application

Endpoints
GET /api/projects
GET /api/projects/{id}
POST /api/projects
PUT /api/projects/{id}
DELETE /api/projects/{id}

GET /api/projects/{projectId}/activities
GET /api/projects/{projectId}/activities/{activityId}
POST /api/projects/{projectId}/activities
PUT /api/projects/{projectId}/activities/{activityId}
DELETE /api/projects/{projectId}/activities/{activityId}
4 changes: 2 additions & 2 deletions frontend/activity-tracker-ui/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ <h1 style="font-size: 1.6rem; font-weight: 700;">
<p style="font-size: 0.9rem; color: #9ca3af;">
Track projects, log activities, and showcase a full-stack Java + Angular implementation.
</p>
<p style="font-size: 0.5rem; color: #9ca3af;">
<p style="font-size: 0.8rem; color: #9ca3af;">
Java 21, Spring Boot 3.3, Angular, TypeScript
</p>
</header>

<router-outlet></router-outlet>
</div>
</div>