Deploy this demo to Gitpod:
This is a Spring Boot application built using Maven and pnpm. You can build and run it from the command line:
git clone https://github.com/microstream-one/bookstore-demo.git
cd bookstore-demo
mvn spring-boot:run
Then open http://localhost:8080/
The MicroStream BookStore Demo is a fully fledged sample application. It shows how to design an application with MicroStream from the ground up.
A company which operates book stores around the world is modelled. From the data root on there are four main domains:
- Books: range of all books sold by the company
- Shops: retail shops operated by the company
- Customers: registered customers of the company
- Purchases: purchases made by all customers in all stores
The data layer also contains validation and concurrency handling.
We used Vaadin to create the UI. Start point is the main class VaadinApplication.
GraphQL is used to get data access from outside. Playground application is available at http://localhost:8080/playground and a graphical overview of the schema: http://localhost:8080/voyager
Please feel free to report issues here: https://github.com/microstream-one/bookstore-demo/issues
The MicroStream BookStore Demo is released under the MIT License.