Monix is a Next.js-only web security, SEO, and performance analysis application.
Documentation lives in docs/ (architecture, deployment, web app setup).
| Path | Role |
|---|---|
web/ |
Next.js 16 app (React 19, TypeScript, Bun) |
docs/ |
Markdown documentation |
web/sql/init.sql |
Single SQL bootstrap for all monix_* tables in local Postgres |
.github/workflows/ci.yml |
CI for lint, JS/TS tests, and production build |
cd web
bun install
bun run devThe app starts on http://localhost:3000.
Copy .env.example to .env at the repo root (or use web/.env.local) and configure DATABASE_URL, MONIX_JWT_SECRET, NEXT_PUBLIC_SITE_URL, Google OAuth for GSC (GOOGLE_REDIRECT_URI must match /api/gsc/callback), and optional PAGESPEED_API_KEY. Apply web/sql/init.sql to your local Postgres before running the app.
cd web
bun run testcd web
bun run lint
bun run buildCI runs lint, JS/TS tests, and production build on pushes and pull requests to main.