AIHandsOn
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
index.ts
https://starx_25--161107fa3f9111f0a2fa76b3cceeab13.web.val.run
A collaborative platform where users can post their weekly reports and engage in public discussions about feedback and comments.
- 📝 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
├── 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 message
This app runs on Val Town. The backend serves both the API and static files, with real-time updates for the chat functionality.