zidoshare / movies

React + Node multi service application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 39.8%Language:CSS 18.7%Language:Go 11.7%Language:Mustache 11.1%Language:Java 9.2%Language:Smarty 3.6%Language:Dockerfile 3.5%Language:Shell 1.0%Language:Makefile 1.0%Language:HTML 0.5%