Enhanced WSDC registration flow with auto-lookup and account validation: Backend changes: - Add accountExists flag to WSDC lookup endpoint - Check database for existing users with WSDC ID - Fix Prisma binary target for Alpine Linux Docker containers Frontend changes: - Auto-lookup WSDC data after entering 4+ digits (500ms debounce) - Show live preview dropdown with dancer information - Display warning if account with WSDC ID already exists - Block registration and suggest login for existing accounts - Improve UX with real-time validation feedback - Add CheckCircle, XCircle, AlertCircle icons for visual feedback This prevents duplicate WSDC ID registrations and provides immediate feedback to users, improving the registration experience. Tested with: - ID 26111 (Vince Yap) - new account allowed - ID 26997 (Radoslaw) - existing account blocked
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.