A demo application using the cqrs-es framework with a backing SQLite repository.
- rust 1.53 or greater
- curl (or your favorite Restful client)
Clone this repository
git clone https://github.com/johnbcoces/cqrs-es-demo-sqlite
Start the application
cargo run
Call the API, the easiest way to do this is the test_api.sh
curl script found in the curl
directory.
Note that the command calls are configured to return a 204 status with no content,
only the query call will return a 200 OK
response with a body.
For feedback on state you should call a query.
- Documentation of cqrs-es crates as well as an introduction to CQRS can be found here.
- Documentation of the sqlite-es crate can be found here.