Created
February 15, 2023 19:04
-
-
Save ahmadseder/5071930acd143afd95eb5cb705646316 to your computer and use it in GitHub Desktop.
Canaan CQRS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You need to clone the project and run it | |
# For the CQRS and domains create everything under a file called CQRS.js | |
# For handling the flow create a file called services.js |
To use the subscribe with React use
const [some,setSome] = useState();
useEffect(()=>{
domain.subscribe(query,setSome);
},[]);
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Import this file to https://www.json-rule-editor.com/#/home and initialise the rules engine