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 miliseconds.
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.