johnbcodes / cqrs-sqlite-sea-orm

A demo application using sea-orm with cqrs-es and sqlite-es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cqrs-sqlite-sea-orm

A demo application using the cqrs-es framework with a backing SQLite repository. Uses sea-orm to generate read models.

Build status

Requirements

  • rust 1.53 or greater
  • curl (or your favorite Restful client)

Installation

Clone this repository

git clone https://github.com/johnbcoces/cqrs-sqlite-sea-orm

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.

Docs you might want

About

A demo application using sea-orm with cqrs-es and sqlite-es

License:Other


Languages

Language:Rust 92.7%Language:Just 4.0%Language:Shell 3.3%