Skip to content
/ movies Public
forked from okteto/movies

React + Node multi service application

License

Notifications You must be signed in to change notification settings

rakaki/movies

 
 

Repository files navigation

Movies App

Develop on Okteto

This example shows how to leverage Okteto to develop an application based on microservices directly on Kubernetes. The Movies App is deployed using a Helm Charts. It creates the following components:

  • A React based frontend service, using webpack as bundler and hot-reload server for development
  • A Node.js based catalog service to serve the available movies from a MongoDB database
  • A Java based rent service to receive rent requests and send them to Kafka
  • A Golang based worker to process rent request from Kafka and update the PostgreSQL database
  • A Golang based api to retrieve the current movies rentals from the PostgresSQL database
  • A MongoDB database
  • A Kafka queue
  • A PostgresQL database

Architecture diagram

Demo script

  • Deploy the repo from UI
  • Rent two movies
  • okteto up worker + make build + make start
  • Uncomment line 61 in rentals/cmd/worker/main.go
  • make build + make start
  • Show how the change is applied

About

React + Node multi service application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.7%
  • CSS 18.7%
  • Go 11.7%
  • Mustache 11.1%
  • Java 9.2%
  • Smarty 3.6%
  • Other 6.0%