Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)