Skip to content
forked from okteto/movies

React + Node multi service application

License

Notifications You must be signed in to change notification settings

jmacelroy/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

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.7%
  • CSS 18.1%
  • Go 13.9%
  • Mustache 8.7%
  • Java 7.7%
  • Dockerfile 3.0%
  • Other 4.9%