A real-time platform where users can post famous quotes and discuss them in chat rooms.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── quotes.ts # Quote-related API endpoints
│ │ ├── chat.ts # Chat API endpoints
│ │ └── users.ts # User management endpoints
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application component
│ │ ├── QuotePanel.tsx # Left panel for quotes
│ │ ├── ChatPanel.tsx # Right panel for chat
│ │ └── UserAuth.tsx # Username creation/login
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared TypeScript types
GET / - Main applicationPOST /api/users - Create/login userGET /api/quotes - Get all quotesPOST /api/quotes - Post a new quoteGET /api/chat/messages - Get chat messagesPOST /api/chat/messages - Send chat messageGET /api/chat/stream - SSE stream for real-time updates