9 releases
0.4.4 | Mar 3, 2023 |
---|---|
0.4.3 | Mar 3, 2023 |
0.4.2 | Dec 27, 2022 |
0.4.0 | Nov 4, 2022 |
0.2.0 | Nov 3, 2022 |
#647 in HTTP server
37 downloads per month
24KB
78 lines
cashier-server
Ledger-cli REST server for Cashier PWA.
Cashier Server acts as a mediator between Cashier PWA and Ledger CLI, forwarding queries to Ledger and the results to Cashier. Used for synchronizing the ledger data in Cashier.
This version of the Cashier Server is implemented in Rust.
Previous implementations:
- Cashier Ledger Server in Go
- CashierSync in Python
- CashierSync Go in Go
Installation
cargo install cashier-server
Run
Make sure that Ledger CLI is configured and can be called from the directory. Then run:
cashier-server
Development
VSCode + Rust extension(s).
cargo run
in the project directory.
Publishing
cargo publish
Dependencies
~13–26MB
~337K SLoC