Skip to content

A simple Go web application that performs CRUD operations on a PosgreSQL database

Notifications You must be signed in to change notification settings

appvia/todos-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todos-app

A simple Go web application that performs CRUD operations against a PostgreSQL database as it allows you to manage a list of tasks or activities.

Usage

Run the application in a Docker container

VERSION=""
POSTGRESQL_DB_HOST=""
POSTGRESQL_DB_USERNAME=""
POSTGRESQL_DB_PASSWORD=""
POSTGRESQL_DB_NAME="todos"

docker run --name todos-app \
  -p 8080:8080 \
  -e DB_HOST=${POSTGRESQL_DB_HOST} \
  -e DB_NAME=${POSTGRESQL_DB_NAME} \
  -e DB_USERNAME=${POSTGRESQL_DB_USERNAME} \
  -e DB_PASSWORD=${POSTGRESQL_DB_PASSWORD} \
  -d ghcr.io/appvia/todos-app:sha-777555b550e290fa7c6be050957b6e906492bad4

Run the container in a Kubernetes cluster

NAMESPACE=""

helm upgrade todos-app charts/todos-app/ \
  --install \
  --namespace ${NAMESPACE} \
  --wait

About

A simple Go web application that performs CRUD operations on a PosgreSQL database

Resources

Stars

Watchers

Forks

Packages