GoooIce / rust-patterns-ddd

Proof of concept for Domain Driven Design in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-patterns-ddd

Rust Domain-Driven-Design (DDD) POC

Motivation

Write a Rust Application following the Domain Driven Design pattern as a proof of concept.

Running Locally

  1. Clone the repository locally
https://github.com/EstebanBorai/rust-patterns-ddd.git
  1. Execute the bin/dotenv script to create a .env file or copy the contents of the .env.sample file into a new file with the name .env

  2. Run the Docker instance using the bin/docker-start script

bin/docker-start
  1. When the server is ready, run migrations to make sure every table on the database is available at the moment of connecting and executing queries.
bin/sqlx-cli migrate run
  1. Install dependencies and execute the server
cargo run

About

Proof of concept for Domain Driven Design in Rust

License:Other


Languages

Language:Rust 92.1%Language:Shell 7.3%Language:Dockerfile 0.6%