Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alifruliarso/event-tracking
https://github.com/alifruliarso/event-tracking
chartjs griddb maven spring-boot thymeleaf time-series
Last synced: about 2 months ago
JSON representation
- 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: 2023-08-23T04:58:06.000Z (over 1 year ago)
- Last Synced: 2023-10-18T05:00:27.509Z (about 1 year ago)
- Topics: chartjs, griddb, maven, spring-boot, thymeleaf, time-series
- Language: CSS
- Homepage:
- Size: 170 KB
- Stars: 0
- 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)