Giter Site home page Giter Site logo

CircleCIQuality Gate Status

SFG Beer Works

SFG Beer works is a Spring Framework application used to demonstrate the interaction of microservices.

This application mimics a beer distribution pipeline. Beer consumers order beers from a pub. The pub, when needed will order more beer from a beer distributor. The distributor orders and receives beer from a brewery.

Primary author of SFG Beer Works lives in St Petersburg, Florida, US. St Petersburg enjoys a thriving craft beer scene. Breweries and beers in this application are modeled after real breweries and beers in the Tampa Bay area.

Brewery

The Brewery application is for a brewery brewing beer. This intended to be modeled after a traditional monolith application being migrated to microservices.

Features

  • Uses Spring MVC, Spring Security, Spring Data JPA, Hibernate
  • Shared shared relational database
  • Scheduled tasks to brew beer, mimic tasting room (creates demand, to consume inventory and trigger brewing)
  • Thymeleaf based UI w/Bootstrap 4

Distributor

The distributor is a beer distributor - designed to be between many Pub's and many Brewerys. The distributor accepts orders from pubs, places orders with Brewers, picks up orders from Breweries, delivers to Pubs.

Features

  • Uses Spring WebFlux (controllers)
  • Spring Data MongoDB
  • Spring Security

Pub

The Pub is a bar or tavern serving beer to Beer Consumers. Beer Consumers order beer from Pub, Pub places reorders from Distributors

Features

  • Uses Spring WebFlux (Functional)
  • Spring Data MongoDB
  • Spring Security

Beer Consumer

The Beer Consumer orders and consumes beers from Pubs. This service creates demand on the supply chain.

Features

  • Primary language is Kotlin
  • Spring WebClient

Common Features

Features common to all components.

Features

  • Java 11
  • Docker
  • JUnit 5 / Mockito
  • Spring Framework 5 / Spring Boot 2.1+
  • Project Lombok
  • Mapstruct

API Docs

Default Port Mappings - For Single Host

Service Name Port
Brewery Beer Service 8080
Brewery Order Service 8081
Brewery UI 8082
Distributor 8090
Pub 8091
Beer Consumer 8092

SFG Beer Works's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.