Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
/ benediction Public archive
generated from stscoundrel/kotlin-template

Simple page view stats with Kotlin & Cassandra. POC.

License

Notifications You must be signed in to change notification settings

stscoundrel/benediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benediction

Simple Kotlin / Spring / Cassandra API for storing & serving page view data without tracking the users.

Proof of concept for personal use. Mainly stores event data & allows queries by projects & time intervals. As far as "tracking" portion is concerned, the data model includes user_identifier which may or may not be used. Benediction trusts that the calling client either uses GDRP approved identifier (=hash that can't be turned back to personal data).

Development

mvn clean && mvn spring-boot:run

Build

Build App Docker image:

docker-compose build

Setup Cassandra DB:

sh scripts/setup-db.sh

Run app & DB:

docker-compose up

Generate test data for queries

Should you wish to automatically populate your DB with event data, see Benediction Ritual

Whats in the name

A benediction is a short invocation for divine help, blessing and guidance. Divine help is what one might need should they wish to do analytics without GDPR acceptances.