Skip to main content

Examples

counter

reboot-dev/reboot-counter - TypeScript backend, React frontend

The counter example is our most concise demonstration of a Reboot transaction and reactive frontend.

It includes:

bank

reboot-dev/reboot-bank - Python backend, React frontend

The bank example demonstrates a multiple user "bank", with signup, transfers, and interest calculations. It strikes a good balance between simplicity and real-world utility.

It demonstrates:

  • a debit/credit transaction that atomically moves funds between users (the canonical transaction example!)
  • different types of states on the backend
  • use of the Mailgun integration to send an email (transactionally!) as part of user signup
  • a task to give users interest
  • a reactive frontend

hello

reboot-dev/reboot-hello - Python backend, React frontend

The hello example demonstrates the simplest possible chat app: a single user, and a single(ton) "chat room". It contains:

Because of hello's simplicity, it does not use any transactions -- see the bank or counter examples for those.

boutique

reboot-dev/reboot-boutique - Python backend, React frontend

The boutique example is our largest example. It demonstrates a fairly complete web-shop, factored out into many components which would likely be maintained by separate teams.

It was originally forked from GoogleCloudPlatform/microservices-demo, and demonstrates how Reboot makes it simple to write correct microservice applications.

Of particular note, it has:

The boutique is our largest example, so consider visiting the hello, counter, or bank examples first to get your feet wet!