Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

microstream-one/bookstore-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


MicroStream is now EclipseStore

The MicroStream project has been moved to the Eclipse Foundation.

Active development will continue there.

It has been split into two projects:

MicroStream will receive security patches until the end of 2024.

However, we recommend migrating to EclipseStore to take advantage of the new features and support for newer JDKs.

The new BookStore Demo can be found here




MicroStream BookStore Demo

Deploy this demo to Gitpod:

Open in Gitpod

Running locally

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/

Screenshot

Description

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

If you find a bug or want to suggest an improvement

Please feel free to report issues here: https://github.com/microstream-one/bookstore-demo/issues

License

The MicroStream BookStore Demo is released under the MIT License.