# movies **Repository Path**: secosun/movies ## Basic Information - **Project Name**: movies - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-21 - **Last Updated**: 2024-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Movies App This example shows how to leverage [Okteto](https://github.com/okteto/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](frontend) service, using [webpack](https://webpack.js.org) as bundler and *hot-reload server* for development - A Node.js based [catalog](catalog) service to serve the available movies from a MongoDB database - A Java based [rent](rent) service to receive rent requests and send them to Kafka - A Golang based [worker](worker) to process rent request from Kafka and update the PostgreSQL database - A Golang based [api](api) to retrieve the current movies rentals from the PostgresSQL database - A [MongoDB](https://bitnami.com/stack/mongodb/helm) database - A [Kafka](https://bitnami.com/stack/kafka/helm) queue - A [PostgresQL](https://bitnami.com/stack/postgresql/helm) database ![Architecture diagram](architecture-diagram.png) ## 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