Reviews
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://clarejoan--356cfa363f8311f0ad8d76b3cceeab13.web.val.run
A full-stack application for sharing and browsing company reviews.
- Submit company reviews with ratings and detailed feedback
- Browse all company reviews
- Search and filter reviews by company name
- Rate companies on multiple criteria (work-life balance, compensation, culture, etc.)
- Anonymous review submission
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β βββ reviews.ts # Review API endpoints
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React app
β β βββ ReviewForm.tsx # Form for submitting reviews
β β βββ ReviewList.tsx # Display list of reviews
β β βββ ReviewCard.tsx # Individual review display
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
β βββ types.ts # Shared TypeScript types
βββ README.md
- Backend: Hono (TypeScript API framework)
- Database: SQLite
- Frontend: React with TypeScript
- Styling: TailwindCSS
- Deployment: Val Town
GET /api/reviews
- Get all reviews with optional search/filterPOST /api/reviews
- Submit a new reviewGET /api/companies
- Get list of companies with review counts
The app is automatically deployed on Val Town. Visit the main URL to start browsing and submitting company reviews.