• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Mouhak

Mouhak

untitled-3016

Public
Like
untitled-3016
Home
Code
4
backend
3
frontend
3
shared
1
README.md
Branches
1
Pull requests
Remixes
1
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
/
Code
/
Search
index.ts
https://Mouhak--19a6a1ea41a811f0969576b3cceeab13.web.val.run
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)
HTTP
  • index.ts
    Mouhak--19…13.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.