zay
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: v12View latest version
This directory contains the server-side code for the Job Board with Chat application.
index.ts- Main entry point with Hono API routesdatabase/- Database setup and queriesmigrations.ts- Database schema definitionsqueries.ts- Database query functions
GET /api/jobs- Get all job listingsPOST /api/jobs- Create a new job listing
GET /api/messages- Get recent chat messagesPOST /api/messages- Create a new chat message
The application uses SQLite for data storage with two main tables:
jobs_v1- Stores job listingsmessages_v1- Stores chat messages