Skip to content

MicroStream BookStore Demo - Sample Application

License

Notifications You must be signed in to change notification settings

useryq8/bookstore-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

MicroStream BookStore Demo - Sample Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.9%
  • Other 2.1%