Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

johnbcodes/cqrs-sqlite-sea-orm

Repository files navigation

Status

This project has been archived due to not wanting deal with the mess of dependency version issues between libsqlite3-sys, sqlx, and sea-orm that happens when there is a vulnerability or upgrades.

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published