You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Confused? Run `cargo pgrx help`
50
50
## The structure of the project
51
51
52
52
The project is structured as follows:
53
-
-`lib.rs` file contains the entry point of the package/crate.
53
+
-[lib.rs](src/lib.rs) file contains the entry point of the package/crate.
54
54
-`framework` module contains the generalized and parametrized implementation of infrastructure and application layers.
55
55
-`domain` module contains the domain model. It is the core and pure domain logic of the application!!!
56
56
-`application` module contains the application layer. It is the orchestration of the domain model and the infrastructure layer (empty, as it is implemented in the `framework` module).
@@ -59,6 +59,12 @@ The project is structured as follows:
59
59
The framework module offers a generic implementation of the infrastructure and application layers, which can be reused across multiple domain models.
60
60
Your focus should be on the `domain` module, where you can implement your unique domain model. We have provided a demo domain model of a `restaurant/order management system` to get you started.
61
61
62
+
## Check the tests
63
+
The project contains a set of tests that demonstrate how to use the domain model and the framework.
64
+
You can find them in the root: [lib.rs](src/lib.rs).
65
+
66
+
You will find a command handler function only, which can handle all the commands of the system! Simple!
0 commit comments