Skip to main content
Software Development
Case study · 2023

WinInMin

Next.js lottery app and Laravel API for WinInMin: games, tickets, prizes, and wallet sign-in.

WinInMin website on a laptop (desktop view of the home page)
WinInMin website on a phone (mobile view of the home page)

The challenge for WinInMin

WinInMin needed a lottery that could sell tickets, record prizes, and accept a wallet, without mixing the public site and the API. The data had to cover games, tickets, wallets, and transactions.

What we built for WinInMin

We built a Next.js public app and a Laravel API. The public routes include lotteries, a dashboard, and accounts. Wallet connect uses wagmi, viem, and Web3Modal. The API stores games, game modes, tickets, prizes, wallets, transactions, currencies, and networks in PostgreSQL. Sign-in also covers Apple, Telegram, Google two-factor, Twilio verification codes, and Turnstile. Redis handles cache and queues. The public app includes an SSE client for updates.

  • Lottery routes for games, tickets, and prizes
  • Wallet connect plus social and one-time-code sign-in
  • Laravel API, Next.js app, PostgreSQL, and Redis

The result for WinInMin

The app includes lottery routes, and the API models cover games, tickets, prizes, wallets, and transactions. Enquiry and prize-pool figures are not published here because they have not been confirmed.

Frequently asked questions about WinInMin

What did Overlord Team build for WinInMin?

A Next.js public app and a Laravel API for a lottery. The app has lottery, dashboard, and account routes. The API stores games, tickets, prizes, wallets, and transactions.

How do WinInMin players sign in?

With a wallet, through wagmi, viem, and Web3Modal. The API also includes Apple and Telegram sign-in, Google two-factor, Twilio verification codes, and Turnstile.

What does the WinInMin API store?

Games, game modes, tickets, prizes, wallets, transactions, currencies, and networks. The database is PostgreSQL. Redis handles cache and queues.

What is the WinInMin public app built with?

Next.js, React, and Tailwind. The public app includes an SSE client for updates.

What results has WinInMin produced?

Lottery routes and the API models for games, tickets, prizes, and wallets are in the product. Enquiry and prize-pool figures are not published here because they have not been confirmed.

Related services

Planning a similar project?

Tell us what you are building. We reply with a scoped plan and a clear next step.