尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
SyncTrip runs on Vercel (Next.js) with Supabase (Postgres, Auth, Storage). All environment variables are listed in .env.example — copy it to .env.local for local development.
Create two Supabase projects — one for staging and one for production. Never test against production data.
photos storage bucket are all created by migrations — create new resources through migrations too, not the dashboard, so both projects stay identical.Migrations live in supabase/migrations/. Apply them with the Supabase CLI — never hand-edit the production schema in the dashboard.
# Before every migration: run the database tests (RLS etc.) against a local stack
supabase start
supabase db reset # applies all migrations locally
supabase test db
# Apply to staging first
supabase link --project-ref <staging-project-ref>
supabase db push
# Verify on staging, then apply to production
supabase link --project-ref <production-project-ref>
supabase db push
In Vercel → Project → Settings → Environment Variables, set each variable per environment:
| Variable | Preview | Production |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY | staging project | production project |
MAPBOX_TOKEN | Mapbox token (optional — falls back to Nominatim) | Mapbox token, URL-restricted |
GOOGLE_PLACES_KEY | optional (photo suggestions use Wikipedia without it) | Places API (New) key, API-restricted; billed per lookup |
NEXT_PUBLIC_SENTRY_DSN | Sentry DSN (optional) | Sentry DSN |
SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN | optional | set to upload source maps |
NEXT_PUBLIC_* variables are inlined at build time, so redeploy after changing them.
https://<domain>/** (production) and https://*-<team>.vercel.app/** (staging/previews). Magic links and OAuth return to /auth/callback.https://<domain>/privacy and the terms URL https://<domain>/terms. Add the Supabase callback (https://<project-ref>.supabase.co/auth/v1/callback) as an authorised redirect URI, then paste the client ID/secret into Supabase → Auth → Providers → Google.NEXT_PUBLIC_SENTRY_DSN.project:releases) and set SENTRY_ORG, SENTRY_PROJECT and SENTRY_AUTH_TOKEN in Vercel. Source maps are only uploaded when SENTRY_AUTH_TOKEN is set.NEXT_PUBLIC_SENTRY_DSN unset (local dev, CI) Sentry is a no-op. Config lives in src/instrumentation.ts, src/instrumentation-client.ts, sentry.server.config.ts and sentry.edge.config.ts; PII collection is disabled via the dataCollection option (Sentry v11's replacement for sendDefaultPii: false).[placeholders] in src/app/privacy/page.tsx and src/app/terms/page.tsx and have them reviewed.npm run build and npx eslint src locally (CI does the same).To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.