Frontend web application for WedPlan, built with Next.js and TypeScript, supporting authentication (Email/Password & Google OAuth), role-based access, and dashboard workflows.
- Client App:
https://wedplan-client-steel.vercel.app - Backend API:
https://wedplan-server-lac.vercel.app
- Authentication & OAuth: Email/password sign-up and sign-in alongside Google OAuth integration using Better Auth with same-origin proxy routing (
/api/auth/*) and role selection support. - Role & Session Handling: Redirect and session helpers (
auth-client.ts,auth-redirect.ts,api-client.ts,proxy.ts) to manage post-login redirects and protected routes. - User & Vendor Workflows: Dedicated sign-up/sign-in forms and dashboard navigation.
Configure these variables locally (e.g., .env) and in your Vercel project settings:
NEXT_PUBLIC_API_URL=[https://wedplan-server-lac.vercel.app](https://wedplan-server-lac.vercel.app)
NEXT_PUBLIC_APP_URL=[https://wedplan-client-steel.vercel.app](https://wedplan-client-steel.vercel.app)
API_ORIGIN=[https://wedplan-server-lac.vercel.app](https://wedplan-server-lac.vercel.app)