ITJobListings
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.
index.ts
https://JonhSmith--2c8c92583fb711f0948076b3cceeab13.web.val.run
A full-stack application for posting IT job opportunities with a public chat room for discussing opportunities.
- π Job Postings: Create, view, and manage IT job postings
- π¬ Public Chat: Real-time chat room for discussing opportunities
- π Job Search: Filter and search through job postings
- π± Responsive Design: Works on desktop and mobile
- Backend: Hono.js API framework
- Frontend: React with TypeScript
- Database: SQLite for job postings and chat messages
- Styling: TailwindCSS
- Real-time: Server-sent events for chat updates
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ jobs.ts # Job posting endpoints
β β βββ chat.ts # Chat endpoints
β βββ index.ts # Main API server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main application component
β β βββ JobBoard.tsx # Job listings component
β β βββ JobForm.tsx # Job posting form
β β βββ ChatRoom.tsx # Chat interface
β β βββ JobCard.tsx # Individual job display
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
βββ types.ts # Shared TypeScript types
GET /api/jobs
- Get all job postingsPOST /api/jobs
- Create new job postingGET /api/jobs/:id
- Get specific job posting
GET /api/chat/messages
- Get chat messagesPOST /api/chat/messages
- Send new messageGET /api/chat/stream
- Server-sent events for real-time updates
This is a Val Town project. The main entry point is backend/index.ts
which serves both the API and frontend files.