Skip to content

Sample cloud-first application with 10 microservices showcasing Raftt development on Kubernetes.

License

Notifications You must be signed in to change notification settings

rafttio/online-boutique

 
 

Repository files navigation

Online Boutique

This project is used for Raftt's connect-mode tutorial that helps you onboard Raftt quickly, without using your code. In the tutorial you'll experience the basic usage of Raftt operating in connect mode - adding development capabilities to an existing env deployed to a Kubernetes namespace.

Online Boutique is a web-based e-commerce app where users can browse items, add them to the cart, and purchase them. It is used as sample microservices application forked from Google's microservices demo. This project is as a sample project to help you onboard Raftt quickly, without using your code.

This project is composed of 10 microservices written in different languages. Familiarity with these languages is not required to successfully complete the tutorial.

Service Language Description
frontend Go Exposes an HTTP server to serve the website. Does not require signup/login and generates session IDs for all users automatically.
cart C# Stores the items in the user's shopping cart in Redis and retrieves it.
productcatalog Go Provides the list of products from a JSON file and ability to search products and get individual products.
currency Node.js Converts one money amount to another currency. Uses real values fetched from European Central Bank. It's the highest QPS service.
payment Node.js Charges the given credit card info (mock) with the given amount and returns a transaction ID.
shipping Go Gives shipping cost estimates based on the shopping cart. Ships items to the given address (mock)
email Python Sends users an order confirmation email (mock).
checkout Go Retrieves user cart, prepares order and orchestrates the payment, shipping and the email notification.
recommendations Python Recommends other products based on what's given in the cart.
ads Java Provides text ads based on given context words.

Online Boutique

About

Sample cloud-first application with 10 microservices showcasing Raftt development on Kubernetes.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 33.2%
  • Go 28.8%
  • HTML 9.4%
  • C# 8.1%
  • JavaScript 4.9%
  • Dockerfile 4.8%
  • Other 10.8%