/guestbook

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

Primary LanguagePythonApache License 2.0Apache-2.0

๐Ÿ“˜ 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