Weekly Reports & Chat App

A collaborative platform where users can post their weekly reports and engage in public discussions about feedback and comments.

Features

  • šŸ“ Weekly Reports: Users can submit and view weekly progress reports
  • šŸ’¬ Public Chat: Real-time chat room for feedback and discussions
  • šŸ‘„ Community Driven: Open platform for team collaboration
  • šŸ“± Responsive Design: Works on desktop and mobile devices

Project Structure

ā”œā”€ā”€ 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

API Endpoints

  • GET /api/reports - Get all weekly reports
  • POST /api/reports - Submit a new weekly report
  • GET /api/chat/messages - Get chat messages
  • POST /api/chat/messages - Send a chat message

Getting Started

This app runs on Val Town. The backend serves both the API and static files, with real-time updates for the chat functionality.