townie-example
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://stevekrouse--87d7515048b44bf9bd3039863f948b87.web.val.run
A modern, responsive website for a clothing company specializing in exclusively purple apparel.
βββ backend/
β βββ index.ts # Main Hono server with API routes
βββ frontend/
β βββ index.html # Main HTML template
β βββ index.tsx # React frontend entry point
β βββ components/
β β βββ App.tsx # Main app component
β β βββ Header.tsx # Navigation header
β β βββ Hero.tsx # Hero section
β β βββ ProductGrid.tsx # Product showcase
β β βββ Footer.tsx # Footer component
β βββ style.css # Custom styles
βββ shared/
βββ types.ts # Shared TypeScript types
## Features
- Modern, responsive design with purple theme
- Product showcase grid
- Company information
- Contact section
- Mobile-friendly navigation
## Tech Stack
- Backend: Hono (TypeScript)
- Frontend: React 18.2.0 + TailwindCSS
- Styling: TailwindCSS via CDN
- Icons: Unicode symbols and emojis
## Development
The main entry point is `backend/index.ts` which serves the React frontend and handles API routes.
