// Rich_System_Site
Stack
- Node.jsDockerCypressPM2Svelteshell
I assisted clients in automating their betting system by utilising web scraping techniques and placing necessary bets accordingly. In the initial version, I used a docker container with Cypress, but it became increasingly complicated and heavy due to the need for headless video buffers to run the test in a browser. In the second revision, I simply made a request for the HTML with a valid cookie that I refreshed on each request to avoid conflicts. Additionally, I developed a user-friendly interface that allows clients to view their open, closed, and live bets for the day, as well as all historical data, represented in various graphs with customisable filters. To ensure secure operation, I implemented a minimal login feature that allows me to change settings and preset configurations for the bot, such as turning it on/off or increasing the maximum stake.
π Betting Bot Interface π
This is an interface for the client to monitor the performance of the betting bot.
βΌοΈ Features
- Graph w/ line of regression, varying graphs to show profit/time, kitty/time, filters
- View for settled/open & historical bets
- stats on {no. races to come, loss streak, total liability, profit, ROI, weekly, monthly earnings, time of next race, time of last race}
- secure DEV route for rolling back to safe git tags/version. seamlessly changing settings on the back-end including defining and using preset settings.
π Features to come
- improve performance of API and loading effeciency
- improve login security, with MFA
π Questions/spikes
- faster to send one large JSON response from API or more granular, eg. request per route