Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alifruliarso/event-tracking
A Web-based Event Tracking built using Spring Boot, and Thymeleaf
https://github.com/alifruliarso/event-tracking
chartjs event-tracking griddb httpclient maven schedler spring-boot thymeleaf time-series
Last synced: 24 days ago
JSON representation
A Web-based Event Tracking built using Spring Boot, and Thymeleaf
- Host: GitHub
- URL: https://github.com/alifruliarso/event-tracking
- Owner: alifruliarso
- Created: 2023-07-31T21:03:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T16:14:50.000Z (about 1 year ago)
- Last Synced: 2024-11-11T21:34:17.856Z (3 months ago)
- Topics: chartjs, event-tracking, griddb, httpclient, maven, schedler, spring-boot, thymeleaf, time-series
- Language: Java
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Realtime Event Tracking using Spring Boot and GridDB
**Prerequisites**:
- [Java OpenJDK 17](https://bit.ly/openjdk1706)
- [Docker 23.0.1](https://docs.docker.com/engine/install/)## Technology Stack
Spring Boot, Thymeleaf, Maven\
Database: GridDB 5.1.0## Run Application with Docker Compose
Build the docker image:
```shell
docker compose build
```Run the docker image:
```shell
docker compose up
```## Run Application with Maven
```shell
./mvnw spring-boot:run
```### For simulating the event creation, I have created a scheduled task that will fire every minute. See [FakeEventProducer.java](src/main/java/com/galapea/techblog/springboot/timeseries/client/FakeEventProducer.java).
### To see all event, open http://localhost:8080/events
### To see chart, open http://localhost:8080/aggregate### Example of API Payload see [TestAPI.http](TestAPI.http)