Add repository-wide markdown documentation - #352
Conversation
Replace the starter READMEs and the database-only root README with a docs tree that describes architecture, local setup, tRPC/auth/schema, both Next.js sites, CI/CD, deployment, security, and testing. Co-authored-by: Aamogh <aamoghS@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Visit the preview URL for this PR (updated for commit ca73f27): https://hacklytics2027--pr-352-n8l0njib.web.app (expires Sun, 23 Aug 2026 15:32:18 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c48ba34db61581e25fe2978355160b5eefe0e83f |
|
| Filename | Overview |
|---|---|
| README.md | Replaces the database-heavy root guide with a concise monorepo overview, verified quick-start commands, architecture summary, and documentation links. |
| docs/getting-started.md | Adds onboarding instructions whose package versions, workspace scripts, database port, environment names, and admin role values align with repository configuration. |
| docs/architecture.md | Documents the two-site architecture, package request path, domain split, authentication, payments, caching, and deployment topology. |
| docs/operations/deployment.md | Describes App Hosting and Firebase Hosting behavior consistently with the deployment configuration and workflows, including a fallback for the absent secret-sync script. |
| docs/operations/environment.md | Centralizes runtime environment-variable guidance and accurately distinguishes the SMTP mail configuration from the stale Resend reference. |
| docs/operations/security.md | Maps existing authorization, input validation, rate limiting, HTTP, payment, audit, and secret controls without changing runtime behavior. |
| docs/packages/api.md | Adds a detailed router and middleware reference consistent with the package’s composed namespaces, role gates, pricing, and cache behavior. |
| docs/packages/db.md | Moves and expands database guidance, retaining the guarded one-off club-table migration and documenting schema and membership-service behavior. |
Reviews (1): Last reviewed commit: "Add repository documentation covering pa..." | Re-trigger Greptile
The repo had a database-focused root README and leftover create-next-app READMEs on both sites. This adds a
docs/tree that matches how the monorepo actually works, and points package/site READMEs at it.What’s in
docs/@query/api(every tRPC namespace and role gate),@query/auth,@query/db(schema + the one-off club-table SQL),@query/uiRoot
README.mdis now a short landing page.CONTRIBUTING.mdlinks todocs/contributing.md.Notes
docs/packages/db.md(not dropped).AUTH_URL/NEXTAUTH_URL.