A collaborative platform where users can post their weekly reports and engage in public discussions about feedback and comments.
āāā backend/
ā āāā database/
ā ā āāā migrations.ts # Database schema setup
ā ā āāā queries.ts # Database query functions
ā āāā routes/
ā ā āāā reports.ts # Weekly reports API
ā ā āāā chat.ts # Chat API
ā āāā index.ts # Main Hono server
āāā frontend/
ā āāā components/
ā ā āāā App.tsx # Main application component
ā ā āāā ReportForm.tsx # Weekly report submission form
ā ā āāā ReportsList.tsx # Display weekly reports
ā ā āāā ChatRoom.tsx # Public chat interface
ā āāā index.html # Main HTML template
ā āāā index.tsx # Frontend entry point
āāā shared/
āāā types.ts # Shared TypeScript types
GET /api/reports - Get all weekly reportsPOST /api/reports - Submit a new weekly reportGET /api/chat/messages - Get chat messagesPOST /api/chat/messages - Send a chat messageThis app runs on Val Town. The backend serves both the API and static files, with real-time updates for the chat functionality.