VirtualDisk / cloudnative-guestbook

Guestbook is a simple cloud-native web application which allows visitors to leave a public comment without creating a user account

Home Page:https://guestbook.jakuboskera.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“˜ Guestbook

jakuboskera jakuboskera jakuboskera jakuboskera

Guestbook is a simple cloud-native web application which allows visitors to leave a public comment without creating a user account.

Application uses MVC architecture, which is widely used software architectural pattern in GUI-based applications.

This application among other things, contains these endpoints:

Live demo of Guestbook application is deployed in Fly.io πŸš€, public comments Welcome!πŸ€—:

https://guestbook.jakuboskera.dev

πŸ“– TOC

🏁 Get started

  1. Clone this repo

    git clone git@github.com:jakuboskera/guestbook.git
  2. Navigate to a folder guestbook

    cd guestbook
  3. Issue make command to see available targets, which you can use

    make

πŸ›  Used technologies

πŸŽ‰ Run in docker using docker-compose

⚠️ Prerequisites

  • docker-compose

πŸš€ Install

make docker-run

🧹 Cleanup

make docker-cleanup

πŸŽ‰ Run in Kubernetes

Using Helm chart guestbook from Helm repository https://jakuboskera.github.io/charts.

Using Helm

⚠️ Prerequisites

  • Kubernetes 1.12+
  • Helm 3.1.0+

πŸš€ Install

make helm-install

🧹 Cleanup

make helm-cleanup

Using skaffold and Helm

Ideal for local Kubernetes development.

⚠️ Prerequisites

  • Kubernetes 1.12+
  • Helm 3.1.0+
  • skaffold

πŸš€ Install

Build, tag and deploy artifacts via Helm chart using skaffold.yaml

make skaffold-run

Build, tag and deploy artifacts via Helm chart using skaffold.yaml, make port-forward to containers and write logs of containers to stdout

make skaffold-dev

🧹 Cleanup

make skaffold-cleanup

About

Guestbook is a simple cloud-native web application which allows visitors to leave a public comment without creating a user account

https://guestbook.jakuboskera.dev

License:Apache License 2.0


Languages

Language:Python 81.3%Language:Dockerfile 7.3%Language:Makefile 7.1%Language:Mako 2.3%Language:Ruby 1.3%Language:Shell 0.6%