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

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 Heroku πŸš€, public comments Welcome!πŸ€—:

https://guestbook.jakuboskera.dev

πŸ“– TOC

🏁 Get started

  1. Clone this repo
    $ git clone [email protected]: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