Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Latest commit

 

History

History
9 lines (5 loc) · 765 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 765 Bytes

The Snowplow Analytics technical test

This repo contains my solution to the Snowplow Analytics technical test.

It is a simple REST service based on http4s and H2 (a more complete list of the employed libraries can be found in build.sbt)

The main method requires a single parameter: a path to the file where the H2 database will be stored, e. g. ./test. If this file doesn't exist, the program will initialize it.

To run the project, open a terminal in the project repository and type sbt 'snowplowTask/run ./test' (sbt must be installed). The server runs on port 8080. IDs are expected to be UUIDs.