Tagline: Discover. Connect. Create.
Core Proposition: One request. Multiple professionals. Better choices.
Brand Attribution: A product of Damayanti Network (division of Damayanti Crest).
VEYRA is a full-stack Next.js (App Router) + TypeScript + Tailwind CSS + Firebase marketplace platform connecting customers with independent beauty, styling, and creative professionals across 10 dynamic categories:
/customer/*): 10-step Post a Requirement wizard (with draft saving, reference image compression & Storage upload, privacy-protected venue details), Request management tabs, Side-by-side Proposal comparison, Shortlisting, Atomic proposal-to-booking acceptance, Real-time Messaging, Booking lifecycle management, Completed-booking Verified Reviews, Favourites, Saved Addresses, and Self-service Account Deletion./professional/*): 12-step resumable Onboarding wizard, Profile & cover editing, Portfolio manager (images/videos, category tagging, cover selection, ordering), Service & pricing catalogue, Availability schedule (weekly hours, days off, temporary unavailable, flexible requests), Verification submission (restricted private documents), Matched Request Feed with rule-based match scores & explanations, Proposal Builder (inclusions/exclusions/terms), Real-time Messaging, Booking transitions, and Real-data Analytics./admin/*): Strictly enforced via Firebase Auth Custom Claims (admin: true + adminLevel role matrix: super_admin, operations_admin, verification_admin, support_admin, content_admin) and adminRoles. Includes Verification queue with short-lived signed URLs for private documents, User & Professional suspension/featuring, Dynamic Category/Subcategory manager, Request & Booking oversight, Review moderation, Report management, CMS Content & Promotions editor, Real-data Analytics, Role assignment, and Audit Trail.firestore.rules & storage.rules, server-side transactions via Next.js API Route Handlers (/api/*) + optional Firebase Cloud Functions (functions/), private subcollection requests/{id}/privateDetails/contact for venue addresses, and complete anonymisation/deletion workflow.paymentStatus: 'offline_agreed') for direct offline settlement.SEARCH_CAPABILITIES). External full-text search (Algolia/Typesense) can be plugged into src/lib/search/provider.ts.NEXT_PUBLIC_MAPS_PROVIDER=google and NEXT_PUBLIC_GOOGLE_MAPS_API_KEY are configured (src/lib/maps/provider.ts).NEXT_PUBLIC_ENABLE_PHONE_AUTH=true) and Web Push (NEXT_PUBLIC_FIREBASE_VAPID_KEY) are gated behind valid Firebase Console configuration so disabled features are never misrepresented as active.20.9+ (tested on v24.21.0)10+git clone <your-github-repo-url>
cd veyra
npm install
Create your local environment file from the safe template:
cp .env.example .env.local
NEXT_PUBLIC_FIREBASE_* values into .env.local./api/proposals/accept, /api/bookings/[id]/transition, /api/reviews, /api/requests/distribute, /api/account/delete, /api/admin/*) and CLI scripts:
FIREBASE_PROJECT_ID, FIREBASE_CLIENT_EMAIL, and FIREBASE_PRIVATE_KEY in .env.local.npx firebase login
npx firebase use <your-project-id>
npx firebase deploy --only firestore:rules,firestore:indexes,storage
cd functions
npm install
npm run build
cd ..
npx firebase deploy --only functions
(Note: All critical transactional flows also run via authenticated Next.js API Route Handlers on Vercel without requiring Blaze Cloud Functions.)
NEXT_PUBLIC_FIREBASE_VAPID_KEY.NEXT_PUBLIC_FIREBASE_RECAPTCHA_SITE_KEY.VEYRA does not include a public admin signup page and does not hardcode admin credentials.
/auth/register (or create the user in Firebase Console -> Authentication).super_admin Custom Claims and create the adminRoles document using the trusted server script:npm run init:admin -- --email admin@yourdomain.com --level super_admin
npm run seed:categories
admin: true custom claim, then open /admin.npm run dev
npm run typecheck
npm run lint
npm run build
npm test
Ensure Java 21+ is on your PATH, then run:
npm run test:rules
To run the full app locally against Firebase Emulators:
NEXT_PUBLIC_USE_FIREBASE_EMULATORS=true in .env.local.npm run emulatorsnpm run dev.env.local and service-account JSONs are excluded by .gitignore)..env.example in Vercel Project Settings (keep FIREBASE_PRIVATE_KEY without NEXT_PUBLIC_ prefix).VEYRA is structured with mobile-first views, safe-area inset CSS, custom modals (no window.alert/confirm), and a capacitor.config.ts template (com.damayantinetwork.veyra).
To wrap the deployed production platform into an Android shell later:
npm install @capacitor/core @capacitor/cli @capacitor/android
npx cap add android
npx cap sync android
npx cap open android
Update capacitor.config.ts server.url to your production HTTPS domain (or set CAPACITOR_BUILD=true for static asset bundling if exporting static routes).