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

cricks_unmixed4u

demo-voter

Remix of cricks_unmixed4u/ai-prompted
Public
Like
demo-voter
Home
Code
10
.cursor
1
backend
1
frontend
3
shared
1
.cursorrules
.vtignore
README.md
deno.json
knowledge.md
main.tsx
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
/
README.md
Code
/
README.md
Search
7/1/2025
Viewing readonly version of main branch: v13
View latest version
README.md

Vote App Demo

A simple voting application built for Val Town with React frontend and Hono backend.

Features

  • ✨ Create new votes with randomly generated titles
  • 🔗 Share vote links
  • ⏰ Votes expire after 1 hour
  • 📱 Responsive design with TailwindCSS

Architecture

  • Frontend: React with React Query for state management
  • Backend: Hono API framework
  • Database: SQLite for data persistence
  • Styling: TailwindCSS

Vote Title Generation

Votes are automatically generated using random combinations of:

  • Netherlands cities (Amsterdam, Rotterdam, Utrecht, etc.)
  • B-Corp related terms (sustainable, impact, community, etc.)
  • Software terms (platform, solution, application, etc.)

Example: "Amsterdam sustainable platform"

API Endpoints

  • POST /api/votes - Create a new vote
  • GET /api/votes/:id - Get vote by ID

Data Persistence

Votes are stored in SQLite and automatically expire after 1 hour.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI 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.