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
Chabardes edited this page May 4, 2022
·
8 revisions
Current state of the dojo
Features
Some basic features have already been implemented, try them out !
Make the following graphQL requests
create a hero
create a level 1 dragon
make the hero attack the dragon
get the hero data, he should have gained xp and a loot.
Code
Take a look around in the docs and src directory, we have 4 modules following the principles described in the DDH Notion page. Each modules is split into core, interface and infrastructure:
core contains the domain entities and the applications (queries and commands) acting on them. This is where all the business logic lives.
interface contains the various ways we can call the core applications. It can be REST controllers, GraphQL resolvers, AMQP consumers, or presenters to be called from other modules.
infrastructure contains the technical details of the module: databases, third-party services, AMQP publishers...