town
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v11View latest version
A web application that allows people to post and discover local businesses with detailed information and contact details.
- Post new business listings with comprehensive details
- Browse all posted businesses in an organized interface
- Search and filter businesses by category, location, or name
- Contact information and business descriptions
- Responsive design for mobile and desktop
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ └── businesses.ts # Business-related API endpoints
│ └── index.ts # Main Hono server entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React application
│ │ ├── BusinessForm.tsx # Form for posting new businesses
│ │ ├── BusinessList.tsx # List component for displaying businesses
│ │ └── BusinessCard.tsx # Individual business display component
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend React entry point
└── shared/
└── types.ts # Shared TypeScript types
GET /api/businesses- Get all posted businessesPOST /api/businesses- Post a new businessDELETE /api/businesses/:id- Delete a business postGET /api/businesses/search?q=term- Search businesses
The application is ready to use once deployed. Visit the main URL to start posting and discovering businesses.