尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Mobile-first commuter PWA for Naga City, Camarines Sur — know your ride, find your way. Next.js, TypeScript, Neon + PostGIS.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Know your ride. Find your way.
ParaNaga is a mobile-first commuter web app (PWA) for Naga City, Camarines Sur, Philippines. It helps tourists, students, newcomers and residents answer the everyday questions: where to wait, which jeepney and direction to take, what it costs, where to transfer, and when to get off. People can also report corrections, share commuting tips, and privately report a driver, with a handoff to the city's official MyNaga app.
Status: pre-launch (N8 readiness). The planner, step-by-step guidance, saved trips, community tips, corrections, private driver reports and the admin review console are built (increments N1–N7). Route data stays provisional and badged, with fare ranges rather than exact fares, until reviewers publish checked data.
Next.js 16 (App Router, Cache Components) · React 19 · strict TypeScript · Neon Postgres + PostGIS · Neon Managed Better Auth · Neon Object Storage · Vercel
Requires Node.js 22+ and pnpm.
pnpm install
pnpm dev
| Command | What it does |
|---|---|
pnpm verify | Typecheck, lint, layer boundaries, unit tests, build, bundle secret scan |
pnpm test:e2e | Playwright smoke tests (mobile + desktop) against pnpm start |
pnpm test:integration | Row-level-security tests against a throwaway Neon branch |
pnpm db:migrate | Apply db/migrations/*.sql (owner role, direct endpoint) |
pnpm db:check-rls | Fail if a table lacks forced RLS, a definer function is unsafe, or a runtime role can bypass RLS |
pnpm db:import --dry-run|--commit | Import the research snapshot and publish the provisional revision (owner URL, one transaction) |
pnpm admin:bootstrap --email … | One-time first admin |
Copy .env.example to .env.local and fill it in per docs/setup.md. Never commit real values.
src/domain/ pure TypeScript: planner, fares, walk graph, guidance, moderation, API schemas
src/server/ server-only: env, db (withRequestContext), auth, repos, admin, media, jobs, rate limits
src/client/ browser state: IndexedDB, saved-trip sync, geolocation, offline/PWA
src/ui/ React components by feature
src/i18n/ en, fil, bcl dictionaries (Bikol falls back to Filipino)
src/app/ routes: /app (commuter), /admin (review console), /api/v1 (JSON), /api/cron
src/proxy.ts optimistic gate for /account and /admin
db/migrations hand-written SQL; row-level security forced on every table
scripts/ migrate, check-rls, import, bootstrap-admin, boundary and bundle-secret checks, load test
tests/ unit · integration · e2e
docs/ spec, setup, plans, research updates
Data_Sets/ research snapshot (15 Oct 2026, read-only)
The research snapshot cites its sources (S01–S42) in Data_Sets/Naga_Commuter_Research.md. Mapped stop pins come from the public Naga City Designated Stops Google My Maps collection, whose public owner display name is "Tan Gumba"; ParaNaga does not claim city endorsement or affiliation with MyNaga or the City Government of Naga. "ParaNaga" is a working name.