refactor: remove legacy frontend code and implement new Next.js structure

- Deleted the old Register page and utility functions.
- Removed Tailwind CSS configuration and Vite configuration files.
- Added a new script for starting a single container with FastAPI and Next.js.
- Updated README to reflect the current status of the Next.js frontend.
- Implemented new login and registration API routes with improved error handling.
- Refactored frontend API calls to use the new proxy structure.
- Enhanced error handling in API response processing.
- Updated components to align with the new API endpoints and structure.
This commit is contained in:
2026-04-17 21:15:06 +08:00
parent cab8b3b483
commit 9a1a9d3247
60 changed files with 819 additions and 7988 deletions

View File

@@ -1,14 +1,13 @@
# QQuiz Web
This directory contains the new Next.js frontend scaffold for the QQuiz
refactor.
This directory contains the Next.js frontend for QQuiz.
## Status
- App Router skeleton: added
- Auth/session proxy routes: added
- Legacy Vite frontend replacement: in progress
- shadcn/ui component foundation: added
- App Router application: active
- Auth/session proxy routes: active
- Single-container deployment target: active
- Split-stack frontend: active
## Environment