A full-stack application that allows users to leave and view company reviews.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ └── routes/
│ └── api.ts # API endpoints
│ ├── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main React component
│ │ ├── CompanySearch.tsx
│ │ ├── ReviewForm.tsx
│ │ └── ReviewList.tsx
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
GET /api/companies/search?q={query} - Search companiesGET /api/companies/{id}/reviews - Get reviews for a companyPOST /api/reviews - Submit a new reviewGET /api/companies/{id} - Get company details