An example project of Domain Driven Design using Rust.
If you want to give it a try, you can follow these steps:
- ensure that docker-compose is installed, and up-to-date.
- ensure that rust is installed, and up-to-date.
- ensure that sqlx cli is installed, and up-to-date.
- run
git clone https://github.com/azjezz/ddd-rust
- run
cd ddd-rust
- run
docker-compose up -d
- run
sqlx database reset -y --database-url "postgres://main:main@127.0.0.1:5432/main"
- run
cargo run --release
- open http://localhost:8080 in your browser.