andreafalzetti / movies

React + Node multi service application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movies App

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

Development container 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 43.8%Language:CSS 18.1%Language:Go 13.9%Language:Mustache 8.7%Language:Java 7.7%Language:Dockerfile 3.0%Language:Smarty 2.8%Language:Makefile 0.9%Language:Shell 0.8%Language:HTML 0.4%