22 lines
488 B
Markdown
22 lines
488 B
Markdown
# `sqlx` Test
|
|
|
|
This is a test program to try few things with the `sqlx` library.
|
|
The idea is to figure out everything needed to support
|
|
moving [cqrs-es2](https://github.com/brgirgis/cqrs-es2) to use `sqlx`.
|
|
|
|
## Build
|
|
|
|
To build the executable simply trigger `Cargo`
|
|
|
|
cargo build
|
|
|
|
## Usage
|
|
|
|
To run the executable you will need to spin up the database stack:
|
|
|
|
docker-compose up -d
|
|
|
|
Wait for a few seconds for the stack to be ready and then you can run the executable:
|
|
|
|
cargo run
|