Public
Like
HAPI
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.
index.ts
https://dIgitalfulus--ca7f347e3fbd11f0bfdd76b3cceeab13.web.val.run
A comprehensive real estate application that allows users to:
- Post job apartments and land listings
- Browse and search properties
- Participate in a public chat room to discuss properties
- View property details and contact information
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ properties.ts # Property CRUD operations
β β βββ chat.ts # Chat functionality
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main app component
β β βββ PropertyList.tsx # Property listings
β β βββ PropertyForm.tsx # Add/edit property form
β β βββ PropertyCard.tsx # Individual property display
β β βββ ChatRoom.tsx # Public chat component
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
βββ types.ts # Shared TypeScript types
- Property Management: Add, view, edit, and delete property listings
- Property Types: Support for apartments, houses, and land
- Search & Filter: Filter properties by type, price range, and location
- Public Chat: Real-time chat room for discussing properties
- Responsive Design: Mobile-friendly interface using TailwindCSS
- Backend: Hono.js with SQLite database
- Frontend: React with TypeScript
- Styling: TailwindCSS
- Storage: Val Town SQLite and Blob storage