No description
  • Vue 58%
  • TypeScript 37.8%
  • JavaScript 1.8%
  • CSS 1.3%
  • Dockerfile 0.5%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-05 13:47:58 +01:00
.claude/skills Various features 2026-11-05 02:21:41 +01:00
app Updated reports 2026-11-05 13:47:58 +01:00
docs/screenshots Init commit 2026-11-02 02:47:07 +01:00
prisma Guard already-applied statements with DO blocks instead of IF EXISTS 2026-11-05 12:30:31 +01:00
public Various features 2026-11-05 02:21:41 +01:00
scripts Various features 2026-11-05 02:21:41 +01:00
server Updated reports 2026-11-05 13:47:58 +01:00
shared/types Init commit 2026-11-02 02:47:07 +01:00
.dockerignore Init commit 2026-11-02 02:47:07 +01:00
.editorconfig Init commit 2026-11-02 02:47:07 +01:00
.env.example Init commit 2026-11-02 02:47:07 +01:00
.gitignore Init commit 2026-11-02 02:47:07 +01:00
compose.dev.yml Init commit 2026-11-02 02:47:07 +01:00
compose.nginx-proxy.yml Various features 2026-11-05 02:21:41 +01:00
compose.prod.yml Init commit 2026-11-02 02:47:07 +01:00
compose.traefik.yml Init commit 2026-11-02 02:47:07 +01:00
compose.yml Init commit 2026-11-02 02:47:07 +01:00
Dockerfile Init commit 2026-11-02 02:47:07 +01:00
eslint.config.mjs Init commit 2026-11-02 02:47:07 +01:00
flake.lock Init commit 2026-11-02 02:47:07 +01:00
flake.nix Various features 2026-11-05 02:21:41 +01:00
LICENSE Init commit 2026-11-02 02:47:07 +01:00
nuxt.config.ts run fix 2026-11-03 14:39:06 +01:00
package.json Various features 2026-11-05 02:21:41 +01:00
pnpm-lock.yaml Various features 2026-11-05 02:21:41 +01:00
pnpm-workspace.yaml Init commit 2026-11-02 02:47:07 +01:00
prisma.config.ts Init commit 2026-11-02 02:47:07 +01:00
README.md Init commit 2026-11-02 02:47:07 +01:00
run run fix 2026-11-03 14:39:06 +01:00
tsconfig.json Init commit 2026-11-02 02:47:07 +01:00

AI disclosure: This application was built using AI — specifically Claude Code.

Holio

Self-hosted holiday booking app. Users request holidays; admins manage users, approve requests, and configure organization-wide policy (annual allowance, rollover, public holidays, whether weekends count as workdays). A team calendar shows day-by-day availability as a green→yellow→red heatmap based on how much of active staff is booked off.

Stack: Nuxt 4 + Nuxt UI, Prisma + PostgreSQL (via the pg driver adapter), session auth via nuxt-auth-utils, Docker Compose for deployment.

Screenshots

Calendar Approvals
Team availability calendar Holiday approvals
Users Instance settings
User management Instance settings
Calendar on mobile

Local development (NixOS)

nix develop               # node, pnpm, postgres client, prisma's schema-engine, docker-compose
pnpm install
cp .env.example .env      # fill in DATABASE_URL / NUXT_APP_SECRET
pnpm db:migrate           # applies migrations (prompts for a name if the schema changed)
pnpm db:seed              # creates the OrganizationSettings row + default "Full Day" portion
pnpm dev

On first visit, with no users yet, the app walks you through creating the first admin account in the browser (no env-var credentials to set).

A Postgres instance needs to be reachable at DATABASE_URL. For local dev without Docker:

docker run -d --name holio-dev-db -e POSTGRES_USER=holio -e POSTGRES_PASSWORD=holio-dev-password \
  -e POSTGRES_DB=holio -p 5432:5432 postgres:16-alpine

Running with Docker Compose

Base compose.yml defines the app/db services and is combined with one overlay:

# Development: builds the `dev` Dockerfile stage and runs `nuxt dev` inside it. --watch syncs
# edited source files into the running container (no bind mount, so nothing on the host ends up
# root-owned); editing package.json/pnpm-lock.yaml triggers a rebuild instead.
docker compose -f compose.yml -f compose.dev.yml up --build --watch

# Production: builds the multi-stage Dockerfile image, runs migrations + seed on boot, then
# starts the built Nitro server.
docker compose -f compose.yml -f compose.prod.yml up --build -d

Both need a .env file (see .env.example) with POSTGRES_PASSWORD and NUXT_APP_SECRET. The first admin account is created from the browser on first visit (see above), not from env vars.

Scripts

  • pnpm dev / pnpm build / pnpm preview
  • pnpm db:migrate — create/apply a migration during active schema work (interactive)
  • pnpm db:deploy — apply committed migrations only, never prompts (used on container boot)
  • pnpm db:seed — idempotent: upserts organization settings and the default "Full Day" portion
  • pnpm db:studio — Prisma Studio
  • pnpm lint / pnpm typecheck

License

GPL-3.0-or-later — see LICENSE. Copyright (C) 2026 local.interloper.