Backend REST API and authentication server for WedPlan, built with Node.js, Express, MongoDB, and Better Auth.
- Backend API:
https://wedplan-server-lac.vercel.app - Client App:
https://wedplan-client-steel.vercel.app
- Authentication & Authorization: Email/password authentication, Google OAuth, JWT plugin integration, and role-based user onboarding (
customer/vendor) powered by Better Auth. - Database & API Routes: Modular Express routes for bookings, services, payments, transactions, public listings, user dashboards, and admin management backed by MongoDB.
- Payment Integration: Stripe payment processing support.
Configure these variables locally (.env) and in your Vercel project settings:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
BETTER_AUTH_SECRET=your_better_auth_secret
BETTER_AUTH_URL=[https://wedplan-server-lac.vercel.app](https://wedplan-server-lac.vercel.app)
CLIENT_URL=[https://wedplan-client-steel.vercel.app](https://wedplan-client-steel.vercel.app)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret_key