Fadwa_JobBoard_ChatApp
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://FaRak--aa42989c3f3e11f0ad1176b3cceeab13.web.val.run
A simple web application where users can post job opportunities and discuss them in a public chat room.
- Job Board: Post job opportunities with title, description, company, and location
- Public Chat: Real-time chat room for networking and discussions
- No Authentication: Simple name/nickname field for posts and messages
- Mobile-Friendly: Responsive design using TailwindCSS
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ jobs.ts # Job posting endpoints
β β βββ chat.ts # Chat message endpoints
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main application component
β β βββ JobBoard.tsx # Job posting and listing
β β βββ ChatRoom.tsx # Chat interface
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: Hono (TypeScript API framework)
- Database: SQLite
- Frontend: React with TypeScript
- Styling: TailwindCSS
- Platform: Val Town
GET /api/jobs
- Get all job postsPOST /api/jobs
- Create a new job postGET /api/chat
- Get chat messagesPOST /api/chat
- Send a chat message
The app is automatically deployed on Val Town. Visit the HTTP endpoint to use the application.