- Open VSCode Development Container
cargo run
starts the GraphQL service + GraphiQL on port8080
docker compose -f docker-compose-dev.yaml up --build
in the repository root directory. IMPORTANT: MongoDB credentials should be configured for production.
-
CRUD reviews:
pub struct Review { pub id: Uuid, pub user_id: Uuid, pub product_variants: HashSet<ProductVariant>, pub name: String, pub created_at: DateTime, pub last_updated_at: DateTime, } /// Foreign ProductVariant pub struct ProductVariant{ id: Uuid }
-
Validates all UUIDs input as strings
-
Error prop to GraphQL