Public
Like
Zap
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.
Viewing readonly version of main branch: v1View latest version
A full-stack sports betting application built on Val Town.
- User authentication (register, login)
- Sports events browsing and betting
- Wallet management (deposit and withdraw funds)
- Bet history and tracking
- Real-time odds updates
/backend
- Server-side code (Hono API, SQLite database)/database
- Database setup and queries/routes
- API endpoints
/frontend
- Client-side code (React, TailwindCSS)/components
- React components
/shared
- Shared types and utilities
- Backend: Hono, SQLite
- Frontend: React, TailwindCSS
- Authentication: JWT
- Data Storage: SQLite
- Auth:
/api/auth/register
,/api/auth/login
- User:
/api/user/profile
,/api/user/balance
- Transactions:
/api/transactions/deposit
,/api/transactions/withdraw
- Sports:
/api/sports/list
,/api/sports/events
- Bets:
/api/bets/place
,/api/bets/list
,/api/bets/history