rust-coasts-new-community-form
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.
Viewing readonly version of main branch: v21View latest version
- 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
- Val Town Project: Community interest capture system with location-based pages and admin dashboard
- Backend: Hono API server (backend/index.ts) handling community interest submissions and admin features
- Frontend: React 18.2.0 with TypeScript (frontend/index.tsx, components/)
- Database: SQLite with community interest table (community_interest_1) and legacy talk submissions (talk_submissions_3)
- Discord Integration: Maintained for future event coordination (optional)
- Shared: TypeScript types and utilities (shared/types.ts)
- Role Mentions: Use
<@&ROLE_ID>format in message content - User Mentions: Use
<@USER_ID>format in message content - Channel Mentions: Use
<#CHANNEL_ID>format in message content - Special Mentions:
@everyoneand@herework as plain text (no ID needed) - Permissions: Role must be mentionable OR bot needs "Mention Everyone" permission
- Language: TypeScript/TSX with React 18.2.0
- Imports: Use
https://esm.shfor 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)