This is a form made for a event. More details on LiveWire
- Team-Based Registration: Intelligent modal system for team management
- Real-Time Auto-Save: All form data persists in localStorage
- Enhanced Student Details: Includes class and section information
- Smooth Animations: Modern UI with Framer Motion transitions
- Dynamic Validation: Real-time form validation with visual feedback
-
Clone the repository
-
Install dependencies:
npm install
-
Copy the environment variables:
cp .env.example .env.local
-
Update the environment variables in
.env.local:NEXT_PUBLIC_SCRIPT_URL: Your Google Apps Script URL for registration dataNEXT_PUBLIC_MATERIALS_SCRIPT_URL: Your Google Apps Script URL for materials dataADMIN_USERNAMEandADMIN_PASSWORD: Admin credentials
-
Run the development server:
npm run dev
You need two separate Google Apps Scripts:
- File:
google-apps-script.js - Purpose: Handles student registrations with in-game IDs, class, and section
- Columns: Timestamp, School Name, School Email, Student Name, Class, Section, Phone No., Event, In-Game ID
- File:
google-apps-script-materials.js - Purpose: Handles materials submissions
- Columns: Date, Drive, School, Event
- Go to script.google.com
- Create two new projects
- Copy and paste the respective code from the files above
- Deploy each as a Web App (Execute as: Me, Access: Anyone)
- Copy the deployment URLs and update your
.env.localfile