module
Version:
v0.5.9
Opens a new window with list of versions in this module.
Published: Dec 20, 2025
License: Apache-2.0
Opens a new window with license information.
README
¶
example-app
Example go application. This application exposes simple CRUD for making notes and utilizes postgres database as storage.
Install
Install prerequisites
Using helm
- Add repo:
helm repo add example-app https://camaeel.github.io/example-app/
- Update repos:
helm repo update
- Install:
helm upgrade --install --namespace example --create-namespace example-app/example-app
Install with local postgres database
This is not intended for production use (jsut as whole application)
Adjust values.yaml (.env) as in the coments (replace section for CNPG with section for bitnami) and then install with:
helm upgrade --install --namespace example --create-namespace example-app . --set bitnamipostgres.enabled=true
Local development
Local run using docker-compose
- Build docker image:
make docker
- Run
docker-compose up
Testing
Use tests.rest file.
Click to show internal directories.
Click to hide internal directories.