Skip to content

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

License

Notifications You must be signed in to change notification settings

jakuboskera/guestbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c9a01c3 Β· May 3, 2023

History

40 Commits
Feb 26, 2023
Jun 2, 2022
Jun 2, 2022
Feb 26, 2023
Feb 21, 2023
Jun 2, 2022
Jun 2, 2022
Jan 19, 2022
Feb 21, 2023
Jan 19, 2022
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Jan 19, 2022
Feb 21, 2023
May 3, 2023
Jun 2, 2022
Jun 2, 2022
Feb 21, 2023
Feb 21, 2023
Jun 2, 2022
Jun 2, 2022
Feb 26, 2023
Jan 19, 2022

Repository files navigation

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