FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
osakwe
osakweosakwe1
Public
Like
osakwe1
Home
Code
4
backend
3
frontend
3
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
index.ts
https://osakwe--535391c43fbd11f0b60676b3cceeab13.web.val.run
README.md

House Rental App

A full-stack application for house owners to post rental properties and engage in public discussions about rental prices.

Features

  • 🏠 Property Listings: House owners can post their properties for rent
  • 💬 Public Chat Room: Community discussion about rental prices and market trends
  • 📱 Responsive Design: Works on desktop and mobile devices
  • 🔍 Property Search: Filter properties by location, price range, and type

Tech Stack

  • Frontend: React 18.2.0 with TypeScript
  • Backend: Hono framework
  • Database: SQLite
  • Styling: TailwindCSS
  • Real-time: WebSocket for chat functionality

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema
│   │   └── queries.ts       # Database operations
│   ├── routes/
│   │   ├── properties.ts    # Property CRUD operations
│   │   └── chat.ts          # Chat functionality
│   └── index.ts             # Main server entry point
├── frontend/
│   ├── components/
│   │   ├── App.tsx          # Main app component
│   │   ├── PropertyList.tsx # Property listings
│   │   ├── PropertyForm.tsx # Add new property form
│   │   └── ChatRoom.tsx     # Chat interface
│   ├── index.html           # HTML template
│   └── index.tsx            # Frontend entry point
└── shared/
    └── types.ts             # Shared TypeScript types

Getting Started

  1. The app will automatically set up the database on first run
  2. Navigate to the app URL to start using the platform
  3. Add properties using the "Add Property" form
  4. Join the chat room to discuss rental prices with other users

API Endpoints

  • GET /api/properties - Get all properties
  • POST /api/properties - Add new property
  • GET /api/chat/messages - Get chat messages
  • POST /api/chat/messages - Send chat message
HTTP
  • index.ts
    osakwe--53…13.web.val.run
Code
backendfrontendsharedREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.