Public
Like
untitled-3016
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.
A full-stack application for posting job opportunities and discussing them in a public chat room.
- 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
├── 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
GET /api/jobs
- Get all job postingsPOST /api/jobs
- Create a new job postingDELETE /api/jobs/:id
- Delete a job posting
GET /api/chat/messages
- Get recent chat messagesPOST /api/chat/messages
- Send a new chat message
- id (INTEGER PRIMARY KEY)
- title (TEXT)
- company (TEXT)
- description (TEXT)
- location (TEXT)
- salary (TEXT)
- contact_email (TEXT)
- created_at (DATETIME)
- id (INTEGER PRIMARY KEY)
- username (TEXT)
- message (TEXT)
- created_at (DATETIME)