Hello Miguel,
I hesitated to submit this code sample as it was intended to be an example of Hexagonal, however as one of my colleagues pointed out, it does end up implementing hexagonal.
The mixter codebase is intended to be a koan based approach to help people gain a practical understanding of DDD/ES/CQRS.
The exercise is designed to represent a simplified version of twitter. We cut through actual features but we demonstrate how to make different bounded contexts and aggregates interact (user authentication, session handling, message posting, user relations etc ) and since we wanted people to see it "work" so they could study an end to end application of the concepts, we built a partial REST api to manipulate the domain which students get as the last step of the exercise. This was done to show a full end to end working application.
The domain and business rules were built in full TDD and complete isolation from any technical concern, defining interfaces for things related to external world interaction or technical concerns.
Then we created an actual web application using this domain which you can run and interact with.
It is not a production application and by and it is incomplete, some concerns are simplified but it does implements real-world use cases and does exhibit an hexagonal architecture.
You will find the web application code in the solution branches.
The repository currently contains 4 branches for the 4 languages this exercise was implemented in : c#, java, php and javascript. We are slowly working on an F# and scala version.
It will be simpler than Vincent's simple-petstore but maybe more complete than hangman.
I hope you will find it interesting
Regards,
Jean