Introduction
A web-based application for simulation of a lotto game. This application uses web socket to simulate real-time distribution of data such as winnings, bets and drawing date & time. It uses application programming interface (API) for CRUD operations. It also uses single page application (SPA) structure for front-end developmnent. Lastly, this was coded using Node.js structure.
Features
- Real-time lottery draw simulation using WebSockets
- Place bets and view winning results
- Draw schedule with countdown timers
- Authentication and user profiles
- Responsive and SPA-friendly UI
- Uses Master-Slave structure on database
How it works?
- User sign up and logs in
- Place bets on their chosen number combination
- Real-time countdown to the draw begins
- Results are shown live as numbers are drawn
- Users are notified if they win
Sample Screenshots
Tech Stacks
- Frontend: HTML, CSS, JavaScript, Vite
- Backend: Node.js, Express
- Real-time: WebSockets (Socket.IO)
- Database: MySQL
License
The lotto dash is an open-sourced software under the MIT License