Public
Like
untitled-4618
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://Mo5--91c63a623fe811f0b55676b3cceeab13.web.val.run
A comprehensive web application designed specifically for seniors to learn chair yoga exercises and connect with others in a supportive community chat environment.
- Step-by-step chair yoga exercises with clear instructions
- Beginner-friendly poses designed for seniors
- Visual demonstrations and safety tips
- Exercises categorized by body area (neck, shoulders, back, etc.)
- Real-time chat functionality
- Username-based authentication (no complex registration)
- Supportive community for asking questions and sharing advice
- Moderated environment focused on wellness and yoga
├── backend/
│ ├── index.ts # Main Hono server with API routes
│ ├── database/
│ │ └── chat.ts # Chat message storage and queries
│ └── routes/
│ ├── chat.ts # Chat API endpoints
│ └── static.ts # Static file serving
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # React app entry point
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── YogaSection.tsx # Chair yoga exercises
│ │ └── ChatRoom.tsx # Chat functionality
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
- The app runs on a single HTTP endpoint
- Navigate to the main page to access both yoga exercises and chat
- Enter a username to join the chat community
- Browse chair yoga exercises at your own pace
- Backend: Hono (TypeScript API framework)
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite for chat message persistence
- Styling: TailwindCSS
- Real-time: Server-sent events for chat updates