Aqua is a self-hosted web platform: Go services for identity, users, content, and administration, plus Vue 3 frontends for the public site and admin console.
This repository contains the reusable application code. Deployment-specific configuration, secrets, and the private server toolbox are intentionally not included.
- Backend: Go, Gin, gRPC, protobuf, Wire
- Frontend: Vue 3, TypeScript, Vite, npm workspaces
- Infrastructure: PostgreSQL, Redis, etcd, Meilisearch
| Path | Purpose |
|---|---|
server/ |
Go services (admin, blog, passport, user), shared packages, protobuf contracts, migrations |
frontend/ |
npm workspace with apps/admin, apps/blog, apps/passport, and shared packages |
postgres/ |
Database schema and an example bootstrap script |
deploy/ |
Single-host Docker Compose deployment example |
Copy the example configuration and replace every placeholder:
cd server
cp config/app.example.yaml config/app.yaml
cp config/admin.example.yaml config/admin.yamlGenerate JWT keys for local development (see server/config/README.md), then
start the services you need:
go run ./services/mono/cmd -config-dir=./configThe full stack expects PostgreSQL, Redis, etcd, and Meilisearch to be reachable
at the hosts configured in config/app.yaml. Apply
postgres/structure/web-structure.sql and the example bootstrap first.
cd frontend
npm install
cp .env.development.example .env.development
npm run dev:blog
# or: npm run dev:admin / npm run dev:passportBuild all apps with npm run build:admin, npm run build:blog, and
npm run build:passport.
deploy/ contains a small Docker Compose stack with PostgreSQL, Redis, etcd,
Meilisearch, the mono API, and an nginx frontend. It is a starting point, not
a hardened production setup. See deploy/README.md.
- Never commit
*.pem, database passwords, SMTP credentials, API tokens, or provider keys. server/config/*.example.yamlandfrontend/.env*.exampleare templates.- In production, mount secrets at
/run/secrets/and keep real configuration outside the repository. - The
deploy/example deliberately excludes TLS certificates, real domains, and private services; supply those in your own deployment environment.
cd server && make check
cd frontend && npm run checkMIT. See LICENSE.