Go to file
2024-12-08 16:25:18 +00:00
src simple clean up 2024-12-08 16:23:30 +00:00
.dockerignore initial commit 2024-12-07 22:41:01 +00:00
.gitignore initial commit 2024-12-07 22:41:01 +00:00
Cargo.lock initial commit 2024-12-07 22:41:01 +00:00
Cargo.toml initial commit 2024-12-07 22:41:01 +00:00
Dockerfile initial commit 2024-12-07 22:41:01 +00:00
README.md update readme 2024-12-08 16:25:18 +00:00
schema.sql initial commit 2024-12-07 22:41:01 +00:00

Unwritten Application

API

PUT /generate_random

NO BODY

Used to generate random data in the database. Generates 10000 accounts and 1000000 transactions

DELETE /delete_data

Used to delete the data from the database

Delete takes a few seconds as well, mostly cause by the database checks on the relation between account and transactions

GET /injest

Injests the data from the database into polars LazyFrames

Note: This should take around 1-2sec, I think that most of the delay comes from having to clone all the UUIDs into strings

Get /accounts

Returns the text representaion of the accounts LazyFrame

Get /transactions

Returns the text representaion of the transactions LazyFrame