APP
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.
A networking platform that connects business professionals from all industries with consumers, featuring real-time chat communication.
- User Registration: Separate registration for business professionals and consumers
- Industry Categories: Business users can select from various industry categories
- User Discovery: Browse and search for business professionals or consumers
- Real-time Chat: Direct messaging between users with persistent chat history
- Profile Management: User profiles with industry information and contact details
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── auth.ts # Authentication endpoints
│ │ ├── users.ts # User management endpoints
│ │ ├── chat.ts # Chat functionality endpoints
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application component
│ │ ├── Auth.tsx # Login/Register forms
│ │ ├── UserList.tsx # User discovery interface
│ │ ├── Chat.tsx # Chat interface
│ │ └── Profile.tsx # User profile component
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
- Backend: Hono (TypeScript API framework)
- Database: SQLite with Val Town's sqlite service
- Frontend: React with TypeScript
- Styling: TailwindCSS
- Real-time: Polling-based chat updates
- The app will automatically set up the database on first run
- Register as either a business professional or consumer
- Browse other users and start conversations
- Use the chat interface to communicate in real-time
- users: User profiles with type (business/consumer) and industry
- messages: Chat messages between users with timestamps