Skip to content
03 / Projects
PCSO Lotto Info results page — Philippines PCSO lotto draw results heading above an editorial note and the latest Lotto 6/42 draw with its jackpot
Contributed toShipped004 / 008

Lotto PH Info

Lotto PH Info is a clean, fast reference for Philippine lottery results. I built its publishing half: a service that posts the day's draw line-up every morning and the night's results as soon as the last game lands.

Built with
  • Next.js
  • React 19
  • TypeScript
  • MongoDB
  • TailwindCSS
  • Facebook Graph API
  • Cron Jobs

What I shipped into it

  1. 01

    Publishes on data readiness rather than on a clock. Results land 12–31 minutes after each draw and occasionally 90, so a fixed evening post is either late or early — the job polls every five minutes and publishes the first pass where the day is complete.

  2. 02

    Renders its own post images through Next's OG image route, one card per game, so a results post arrives as a photo rather than a wall of numbers.

  3. 03

    Reads the draw collection the sibling site writes and owns nothing else, so the two deploy independently; Manila-time handling is isolated in one module and every cron job is registered in Asia/Manila.

  4. 04

    Token-authenticated cron endpoints plus a small dashboard for previewing a post, checking status, and publishing by hand before the page sees it.

More screens

  • Lotto PH Info's Check my numbers page — six number inputs above a list of recent draws
    The results site my service reads from. The site itself is the owner's work.