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

mayree

untitled-7712

Public
Like
untitled-7712
Home
Code
4
backend
3
frontend
3
shared
2
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
/
backend
/
README.md
Code
/
backend
/
README.md
Search
5/15/2025
README.md

Backend

This directory contains the server-side code for the Job Board application.

Structure

  • index.ts - Main entry point for the Hono API server
  • database/ - Database setup and queries
    • migrations.ts - Database schema definitions
    • queries.ts - Database query functions

API Endpoints

Users

  • GET /api/users - Get all users
  • POST /api/users - Create a new user
    • Body: { "username": "string" }

Jobs

  • GET /api/jobs - Get all job listings
  • POST /api/jobs - Create a new job listing
    • Body:
      { "title": "string", "company": "string", "description": "string", "location": "string", "contactEmail": "string", "postedBy": "string" }

Messages

  • GET /api/messages - Get chat messages
    • Query params: limit (optional, default: 50)
  • POST /api/messages - Send a new chat message
    • Body: { "content": "string", "username": "string" }
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
© 2025 Val Town, Inc.