Skip to content

Comments

Modernize app: restructure into legacy/ and modern/ with React + Fastify#1

Open
Sashazach wants to merge 1 commit intomainfrom
claude/modernize-react-fastify-cmazn
Open

Modernize app: restructure into legacy/ and modern/ with React + Fastify#1
Sashazach wants to merge 1 commit intomainfrom
claude/modernize-react-fastify-cmazn

Conversation

@Sashazach
Copy link
Owner

Move the existing Flask/jQuery/SocketIO app into legacy/ for comparison.
Create a modern/ rewrite with:

  • Backend: Fastify + Socket.IO (Node.js) with same game logic, AI integration,
    admin controls, round management, and real-time collaboration
  • Frontend: React 19 + React Router + Socket.IO client with component-based
    architecture (SocketProvider, ScoreTable, ApprovalTracker, AgreementBox,
    AdminMenu, RoundInfo, Notification)
  • Full test suite: 28 server tests (vitest) + 20 client tests (vitest + RTL)
  • Docker multi-stage build for production deployment
  • Vite dev server with HMR and API proxy for development

All original features preserved: 5-round negotiation, 6 states, real-time text
sync, approval voting, AI-powered scoring, admin controls, confetti results.

https://claude.ai/code/session_018WnbivapofcEDHZe8cEn5J

Move the existing Flask/jQuery/SocketIO app into legacy/ for comparison.
Create a modern/ rewrite with:
- Backend: Fastify + Socket.IO (Node.js) with same game logic, AI integration,
  admin controls, round management, and real-time collaboration
- Frontend: React 19 + React Router + Socket.IO client with component-based
  architecture (SocketProvider, ScoreTable, ApprovalTracker, AgreementBox,
  AdminMenu, RoundInfo, Notification)
- Full test suite: 28 server tests (vitest) + 20 client tests (vitest + RTL)
- Docker multi-stage build for production deployment
- Vite dev server with HMR and API proxy for development

All original features preserved: 5-round negotiation, 6 states, real-time text
sync, approval voting, AI-powered scoring, admin controls, confetti results.

https://claude.ai/code/session_018WnbivapofcEDHZe8cEn5J
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants