Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World

A three-service example for Vers Repos:

Frontend (nginx) -> Backend (FastAPI) -> Database (PostgreSQL)

The example displays a persisted visit counter.

Run locally

docker compose up --build -d
./scripts/verify-compose.sh

Open http://localhost:8080.

The database's HTTP gateway runs as the unprivileged postgres user and listens on port 8080, configurable through PORT. PostgreSQL itself listens on 127.0.0.1:5432. Compose publishes the gateway at http://localhost:8082 and connects the backend to http://database:8080.

Images

ghcr.io/hdresearch/hello-world-frontend:v0.1.0
ghcr.io/hdresearch/hello-world-backend:v0.1.0
ghcr.io/hdresearch/hello-world-database:v0.1.0

About

Example webstack with frontend, backend, and db

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages