This is a demo application that shows how to use Kafka as an event store and how to build a simple event sourcing application with Next.js.
You'll need Docker, then run:
docker-compose up
This will start Kafka and Zookeeper. Then you can start the Next.js application:
npx next dev
You can find the traditional model at http://localhost:3000/traditional and the event sourcing model at http://localhost:3000/event-sourced.