Lightweight full-stack Golang boilerplate. Build apps in Go the light, clean and fast way: Gin, Vue 3 and strict rules under which people and AI write equally good code.
Clone the repo and let AI do the work. AGENTS.md holds the rules that people and AI follow alike.
📖 Read the documentation to see what you get on day one: sign-in with sessions, languages, emails, data grids, a strict CSP, GlitchTip, metrics and cookie consent, already wired together and guarded by the tools.
🚀 Deployment puts it on a Docker Swarm that runs Caddy, GlitchTip, Prometheus, Loki, Tempo and Grafana.
Live demo
Quick start
You need Go, Node 24 with Yarn, and Docker with OrbStack for the database.
-
Clone the repository
git clone https://github.com/jzaplet/gin-gokick.git && cd gin-gokick
-
Create the
.envcp .env.example .env
-
Start PostgreSQL
docker compose up -d db
-
Install the packages (
corepack enableonce per machine gives Yarn 4)corepack enable && yarn install
-
Start Vite and keep it running
yarn dev
-
Start the app in a second terminal and open localhost:8020
go run ./app
Quick start in the documentation says how to run it without OrbStack and how to install the git hooks.