Backend

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

Structure

  • index.ts - Main entry point for the HTTP val
  • database/ - Database schema and queries
  • routes/ - API route handlers

API Endpoints

Jobs

  • GET /api/jobs - Get all job postings
  • POST /api/jobs - Create a new job posting

Chat

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

Static Files

  • GET / - Serve the main application
  • GET /frontend/* - Serve frontend files
  • GET /shared/* - Serve shared files