FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Mouhak
Mouhakuntitled-3016
Public
Like
untitled-3016
Home
Code
4
backend
3
frontend
3
shared
1
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 miliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
README.md

Job Board & Chat App

A full-stack application for posting job opportunities and discussing them in a public chat room.

Features

  • Job Postings: Create, view, and manage job postings
  • Public Chat: Real-time chat room for discussing opportunities
  • Responsive Design: Works on desktop and mobile devices

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema setup
│   │   └── queries.ts       # Database query functions
│   ├── routes/
│   │   ├── jobs.ts         # Job posting API routes
│   │   └── chat.ts         # Chat API routes
│   └── index.ts            # Main Hono server
├── frontend/
│   ├── components/
│   │   ├── App.tsx         # Main application component
│   │   ├── JobBoard.tsx    # Job listings component
│   │   ├── JobForm.tsx     # Job posting form
│   │   └── ChatRoom.tsx    # Chat interface
│   ├── index.html          # Main HTML template
│   └── index.tsx           # Frontend entry point
└── shared/
    └── types.ts            # Shared TypeScript types

API Endpoints

Jobs

  • GET /api/jobs - Get all job postings
  • POST /api/jobs - Create a new job posting
  • DELETE /api/jobs/:id - Delete a job posting

Chat

  • GET /api/chat/messages - Get recent chat messages
  • POST /api/chat/messages - Send a new chat message

Database Schema

Jobs Table

  • id (INTEGER PRIMARY KEY)
  • title (TEXT)
  • company (TEXT)
  • description (TEXT)
  • location (TEXT)
  • salary (TEXT)
  • contact_email (TEXT)
  • created_at (DATETIME)

Chat Messages Table

  • id (INTEGER PRIMARY KEY)
  • username (TEXT)
  • message (TEXT)
  • created_at (DATETIME)
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.