Help
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://Cee8880--896022fa3fa411f0a13d76b3cceeab13.web.val.run
A full-stack job posting application built with Val Town, featuring job creation, browsing, and management.
- π Post new job listings
- π Browse all available jobs
- π Search and filter jobs
- π± Responsive design
- πΎ Persistent SQLite storage
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β β βββ jobs.ts # Job-related API routes
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React app
β β βββ JobForm.tsx # Job posting form
β β βββ JobList.tsx # Job listings display
β β βββ JobCard.tsx # Individual job card
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
β βββ types.ts # Shared TypeScript types
βββ README.md
- Backend: Hono (TypeScript API framework)
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite
- Styling: TailwindCSS
- Platform: Val Town
GET /api/jobs
- Get all jobsPOST /api/jobs
- Create a new jobGET /api/jobs/:id
- Get a specific jobPUT /api/jobs/:id
- Update a jobDELETE /api/jobs/:id
- Delete a job
The application is automatically deployed on Val Town. The main entry point is backend/index.ts
which serves both the API and frontend assets.