Skip to content

tioback/booker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multicast

On OSX, you'll probably need to enable multicast on localhost:

sudo route add -net 230.0.0.0/4 127.0.0.1

Components

web-client

Simple, normal .war deployment that serves the React.js-based single-page-app, along with an async servlet to power the Server-Sent-Events (SSE) for Ribbon service discovery.

The React.js components communicate directly with the store and library services.

store

Book inventory (pulled from Project Gutenberg) served from a JAX-RS resource from a CDI-injected service. Uses the pricing service via Ribbon to determine the price of each item in the store.

pricing

Simple pricing service that indicates everything is $10 if you're browsing anonymously, or $9 if you're logged in.

library

Tracks which items are bought by a user using JPA (via an h2 database) from a JAX-RS resource. Communicates with the store service to associate details with a given book ID.

About

Book-reader Demo App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 75.7%
  • JavaScript 21.9%
  • HTML 2.2%
  • CSS 0.2%