/ddd-rust

An example project of Domain Driven Design using Rust

Primary LanguageRust

Domain Driven Design and Rust

An example project of Domain Driven Design using Rust.

If you want to give it a try, you can follow these steps:

  1. ensure that docker-compose is installed, and up-to-date.
  2. ensure that rust is installed, and up-to-date.
  3. ensure that sqlx cli is installed, and up-to-date.
  4. run git clone https://github.com/azjezz/ddd-rust
  5. run cd ddd-rust
  6. run docker-compose up -d
  7. run sqlx database reset -y --database-url "postgres://main:main@127.0.0.1:5432/main"
  8. run cargo run --release
  9. open http://localhost:8080 in your browser.