Skip to content

Example application to learn about patterns and antipatterns of production-ready software.

Notifications You must be signed in to change notification settings

thombergs/fortune-cookie-shop

Repository files navigation

Fortune Cookie Shop

This is a sample application that displays some of the problems we face once an application runs in production, especially in a distributed architecture. Services are not available or they take their time answering requests or they produce errors.

The application consists of an Angular frontend (module fortune-cookie-app) and a couple backend services implemented with Spring Boot.

Running the application

To run the application, follow these steps:

  1. run gradlew fortune-cookie-app-server:bootrun
  2. run gradlew fortune-cookie-fulfillment-service:bootrun
  3. run gradlew fortune-cookie-mailing-service:bootrun
  4. run gradlew fortune-cookie-product-service:bootrun
  5. run gradlew fortune-cookie-edge-server:bootrun
  6. open http://localhost:8000 in your browser

How the application works

Suffice to say that you can create quotes for fortune cookies and order those cookies with the application. Finding out about the details, communication paths and pitfalls within the application is part of the learning experience ;).

About

Example application to learn about patterns and antipatterns of production-ready software.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published