# Ledger ## Development ### Building locally ```shell nix build ``` ### Building dev environment #### For ide ```shell nix build .#development-environment ``` Then, in IntelliJ use `result/bin` The rust source must be `/nix/store/pmih7jv9r5xfaif92bza8w05876qvnvc-rust-src/` #### For shell ```shell nix develop ``` ## Technologies ### Front-end * htmx * https://dc-js.github.io/dc.js/ * https://dygraphs.com/ * https://github.com/aftertheflood/sparks ## Todos #### Architecture * [x] put all the resources (migrations, templates and statics) into a resources directory #### Backend * [ ] Parametrize `CURRENT_TIMESTAMP` * [ ] Make certain the user that creates the event is allowed to do it. * [ ] Add interest rates to currency accounts * [ ] Add market cap table to be able to track market cap by time * [ ] Add a minimum amount of security to exchange #### Front end * [x] Serve static files using actix * [x] Hack https://github.com/bigskysoftware/htmx/blob/master/src/ext/json-enc.js to all embedded fields. * [x] Create UI to create user * [x] Create UI to create security