GetUrStyle is a startup-focused web MVP services site built with React and Vite, with integrated lead capture and admin email workflows.
- Multi-page marketing site (
/,/services,/pricing,/about,/contact) - Animated UI with Framer Motion and Tailwind CSS
- Contact form API (
/api/send-email) backed by SMTP via Nodemailer - Password-protected admin email console (
/admin/email) for bulk outreach - Vercel-ready frontend + serverless API handlers
- React 18 + TypeScript + Vite
- Tailwind CSS
- Framer Motion
- Vercel Serverless Functions (
@vercel/node) - Nodemailer (SMTP)
src/ # Frontend app (pages, components, routing)
api/send-email.ts # Contact form email handler
api/verify-admin.ts # Admin password verification endpoint
api/send-bulk-email.ts # Bulk email endpoint with attachments
Copy .env.example to .env (local) and configure:
SMTP_HOSTSMTP_PORTSMTP_SECURESMTP_USERSMTP_PASSSMTP_FROMSMTP_TOSMTP_FROM_NAMEADMIN_PASSWORD
- Install dependencies:
npm install- Configure environment:
cp .env.example .env- Run the app:
npm run devFor local testing of both frontend and /api/* routes together, run:
npx vercel devnpm run build
npm run previewDeploy to Vercel and set the same environment variables in project settings.