• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
colel

colel

rust-nyc-event-signin

Public
Like
rust-nyc-event-signin
Home
Code
11
.github
1
backend
2
frontend
3
shared
1
.vtignore
AGENT.md
BRAND_STYLE_GUIDE.md
ON_SITE_REGISTRATION_FEATURE.md
README.md
deno.json
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
/
AGENT.md
Code
/
AGENT.md
Search
7/10/2025
Viewing readonly version of main branch: v43
View latest version
AGENT.md

Agent Configuration for Event Check-In System

Commands

  • No explicit test/lint commands - Val Town platform handles these automatically
  • Development: Val Town auto-deploys on changes, no local build needed
  • Database: SQLite migrations run automatically on startup in backend/index.ts

Architecture

  • Val Town Project: Deno-based event check-in system with React frontend
  • Backend: Hono API server (backend/index.ts) handling event management and check-ins
  • Frontend: React 18.2.0 with TypeScript (frontend/index.tsx, components/)
  • Database: SQLite with events_2, attendees_1, and checkins_1 tables
  • Features: Password-protected event creation, CSV attendee upload, fuzzy search, analytics
  • Shared: TypeScript types and utilities (shared/types.ts)

Core Functionality

  • Event Management: Create events with attendee lists via CSV upload
  • Check-In Process: Attendees find their name using fuzzy search and check in with one click
  • Analytics: Track check-in rates, date-based charts, export data as CSV
  • Security: Password protection for event management, multiple check-in tracking

Code Style (from .cursorrules)

  • Language: TypeScript/TSX with React 18.2.0
  • Imports: Use https://esm.sh for npm packages, pin React to 18.2.0
  • Types: Add TypeScript types for all data structures
  • Secrets: Always use environment variables, never hardcode secrets
  • JSX: Start React files with /** @jsxImportSource https://esm.sh/react@18.2.0 */
  • Styling: Default to TailwindCSS via CDN script tag
  • Error Handling: Let errors bubble up with context, avoid empty catch blocks
  • Database: Change table names (e.g., _3, _4) when modifying schemas instead of ALTER TABLE
  • Platform: Use Val Town utils for file operations (readFile, serveFile)
  • SQLite: ALWAYS handle query results properly - use result.rows || result pattern to access data
    • WRONG: const result = await sqlite.execute(query); result[0].column
    • CORRECT: const rawResult = await sqlite.execute(query); const result = rawResult.rows || rawResult; result[0].column
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.