Case Study: Lotolibre
Lottery platfom to sell lottery tickets from website or mobile hybrid app, with a backoffice to self-manage the raffles, results, wallets, and tickets.
Project overview, approach and solution
The project had very simple objectives, sell lottery online without going to the physical point, but everything that had to be done to achieve this goal was not easy. Security was one of the most important points, the wallets had to be well protected. The verification of prizes had to be accurate. The administrator's actions had to be simple and with a process designed to avoid human errors that could be very expensive.
A backend was created in PHP 7.3 with Laravel 6 to serve a website and a hybrid mobile application (created with Ionic 3) that would be managed from backoffice. In order to connect the backend with the web application, a REST API with JWT authentication was developed.
The most laborious part of the project was the result checker. It takes the results of the raffle and calculates the prize for each ticket according to the rules of each game. The ticket purchase part was also laborious since each game has its own regulations and the purchase form has to be adjusted to the rules of each game.
Currently, the platform has many modules developed, such as the group section to share tickets, affiliates, wallet, lottery for companies, push notifications, control of daily sales and prizes, etc. The platform has different payment gateways implemented to be able to charge in different platforms like a credit card, Bizum, Google Pay, PayPal or a bank transfer.
The project uses Amazon Web Services such as EC2 and S3 for production deployment. The development environment was worked with Docker.
The stack
Do you want to see more projects built by me?