• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
catalina906

catalina906

Plantswap

Public
Like
Plantswap
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 milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://catalina906--d82cf4023fa511f09df876b3cceeab13.web.val.run
README.md

Plant Exchange App

A community platform for sharing, donating, and exchanging plant cuttings, potted plants, and trees.

Features

  • User Profiles: Create and manage personal profiles with contact information
  • Plant Listings: Upload photos and details of plants available for donation/exchange
  • Messaging System: Direct communication between users for coordinating exchanges
  • Plant Categories: Support for cuttings, potted plants, and trees
  • Search & Browse: Find plants by type, location, or availability

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema setup
β”‚   β”‚   └── queries.ts       # Database query functions
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ auth.ts         # User authentication
β”‚   β”‚   β”œβ”€β”€ plants.ts       # Plant CRUD operations
β”‚   β”‚   β”œβ”€β”€ messages.ts     # Messaging system
β”‚   β”‚   └── static.ts       # Static file serving
β”‚   └── index.ts            # Main Hono app entry point
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx         # Main app component
β”‚   β”‚   β”œβ”€β”€ Profile.tsx     # User profile management
β”‚   β”‚   β”œβ”€β”€ PlantCard.tsx   # Plant listing display
β”‚   β”‚   β”œβ”€β”€ PlantForm.tsx   # Add/edit plant form
β”‚   β”‚   └── Messages.tsx    # Messaging interface
β”‚   β”œβ”€β”€ index.html          # Main HTML template
β”‚   └── index.tsx           # Frontend entry point
└── shared/
    └── types.ts            # Shared TypeScript types

Tech Stack

  • Backend: Hono (TypeScript API framework)
  • Database: SQLite with Val Town's sqlite service
  • Frontend: React with TypeScript
  • Styling: TailwindCSS
  • Storage: Val Town blob storage for images
  • Authentication: Simple session-based auth

Getting Started

The app is automatically deployed on Val Town. Visit the HTTP endpoint to start using the application.

HTTP
  • index.ts
    catalina906--d8…13.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.