Skip to content

pPrecel/claude-warmup

Repository files navigation

claude-warmup

Build Release License: MIT

This repository is a showcase of using Claude AI (claude-sonnet) as an agent to generate a fully production-oriented project from scratch — including application logic, containerization, Kubernetes deployment, security hardening, CI/CD pipeline, integration tests, release flow, and documentation. Every file in this repo was created through a conversation with Claude Code. The full session transcripts are published here.

A production-grade Node.js HTTP server that returns a persistent request counter backed by Redis, deployed on Kubernetes. Built as a reference project demonstrating secure, production-oriented deployment patterns: non-root containers, NetworkPolicy, RBAC, PersistentVolumeClaim, health probes, and automated CI/CD with vulnerability scanning.

curl http://localhost:8080
hello claude warmup (requests: 42)

Documentation

  • Overview — Architecture, features, endpoints, tech stack
  • Local Development — Run with Node.js, Docker, or k3d
  • Deployment — Production Kubernetes deployment, secret management, security hardening
  • Security & Testing — Security audit results, test strategy, CI pipeline, running tests locally
  • Release Flow — How to cut a release, versioned images, manifest assets, release notes

Quick start

# Create cluster
k3d cluster create claude-warmup --wait

# Create Redis secret
kubectl create secret generic redis-credentials \
  --from-literal=redis-password=$(openssl rand -base64 24)

# Deploy from latest release
kubectl apply -f https://github.com/pPrecel/claude-warmup/releases/latest/download/manifests.yaml

# Test
kubectl port-forward svc/claude-warmup 8080:80
curl http://localhost:8080

CI jobs

Every push to main runs three jobs:

Job Description
build npm audit + Docker build + push to GHCR
scan Trivy vulnerability scan (CRITICAL/HIGH)
integration-test Full stack deployment on k3d + assertions

Releases (v* tags) additionally run a release job that bundles Kubernetes manifests and publishes a GitHub Release.

License

MIT

About

Claude warmup Node.js application

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors