This is the sample project for the Book "Understanding Eventsourcing" using Node, ExpressJS, Typescript and Emmet
The first book to combine Eventmodeling, Eventsourcing to plan and build Software Systems of any size and complexity.
The Eventmodel is here:
If you want to quickly learn about Eventmodeling, here is the original article:
The original Eventmodeling Article
By subscribing to the newsletter you´ll get access to the "little" Eventmodeling Handbook, which can serve as a quick reference in addition to the book.
The book is available on Leanpub here
The original Github Repository ( Spring + Kotlin + Axon ) including all source code can be found here: Github
The sample application is written in ExpressJS, Node, NextJS and Emmet and Supabase
NextJS ExpressJS Supabase Emmet
You need to have Docker installed.
This repository contains a generated Node App using ExpressJS, Emmet and NextJS.
99% of the Code is generated
First start supabase ( which is the backend used for persistence and authentication / authorization )
npx supabase start
Copy the ANON Key from the output and put it into .env.local in the root of the project.
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your anon key>
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
Start the app
npm run dev
It will listen on port 3000
Access the app at http://localhost:3000/
All pages except "/" require authentication.
The source code in the book was mostly generated directly from the Event Model. If you want to see this process in action, I can highly recommend this E-Mail Course that spans 8 days currently and guides you through the process of creating your own custom Code Generator.
The Tool used for Code Generation is the Miro Event Modeling Toolkit