A complete React + Vite event registration system with Formspree integration and payment flow.
- Clean, modern UI with responsive design
- Multi-page flow: Landing → Guidelines → Registration → Payment
- Formspree form submission
- Dynamic team member inputs (up to 3 members)
- GPay QR code payment page
- Fully deployable to Vercel
project/
├── public/
│ ├── gpay-qr.png # Replace with your GPay QR code
│ └── favicon.ico # Site favicon
│
├── src/
│ ├── pages/
│ │ ├── Landing.jsx # Landing page with "Get Started" button
│ │ ├── Guidelines.jsx # Event guidelines page
│ │ ├── Register.jsx # Registration form with Formspree
│ │ └── Payment.jsx # Payment page with QR code
│ │
│ ├── components/
│ │ └── Navbar.jsx # Navigation component
│ │
│ ├── styles.css # All styling
│ ├── App.jsx # Main app with routing
│ └── main.jsx # React entry point
│
├── index.html
├── package.json
├── vite.config.js
└── vercel.json # Vercel SPA routing config
npm install- Go to Formspree.io and create a free account
- Create a new form and get your form ID
- Open
src/pages/Register.jsx - Replace
YOUR_FORMSPREE_IDwith your actual Formspree form ID:
action="https://formspree.io/f/YOUR_FORMSPREE_ID"- Generate your GPay QR code
- Save it as
gpay-qr.pngin thepublic/directory - Replace the placeholder image
npm run devThe site will be available at http://localhost:5173
npm run buildnpm install -g vercel
vercel- Push your code to GitHub
- Go to vercel.com
- Click "New Project"
- Import your GitHub repository
- Click "Deploy"
The vercel.json file is already configured for SPA routing.
Landing Page (src/pages/Landing.jsx):
- Modify the title and description
- Change button text
Guidelines (src/pages/Guidelines.jsx):
- Edit the guidelines list
- Add or remove guideline items
Payment Amount (src/pages/Payment.jsx):
- Update the registration fee amount
- Modify contact information
To add or remove form fields, edit src/pages/Register.jsx:
- Add the form field in the JSX
- Make sure it has a
nameattribute for Formspree - Add validation if needed (
required,pattern, etc.)
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- React 18 - UI library
- Vite - Build tool
- React Router DOM - Client-side routing
- Formspree - Form submission handling
- Vercel - Deployment platform