equitableAmaranthGoat
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: v17View latest version
A comprehensive betting platform with hierarchical user management system similar to bpexch.com.
-
Owner (Top Level)
- Can create/manage Company accounts
- Full system access
- Revenue monitoring
-
Company
- Can create/manage Super Admin accounts
- Company-level settings and limits
-
Super Admin
- Can create/manage Dealer accounts
- Monitor dealer performance
-
Dealer
- Can create/manage End Users
- Handle user betting activities
-
End Users
- Login with credentials provided by dealer
- Place bets and manage account
- Role-based authentication system
- No public signup - all accounts created by upper hierarchy
- Real-time betting interface
- Account balance management
- Commission tracking
- Activity monitoring
- Backend: Hono + SQLite
- Frontend: React + TailwindCSS
- Authentication: Session-based
- Storage: Val Town Blob + SQLite
/backend/- API routes and database/frontend/- React components and UI/shared/- Common types and utilities