LearnNotes.
All notes

Notes by Sanjeev Kujur

How it
works, written down.

How things work under the hood: sign-in, payments and the other building blocks, written down as they get built.

Read the notes

All notes

Pick a note.

  • Being written

    Authentication: our own sign-in

    How sign-in works (sessions, cookies, Google and GitHub login) and how this site moves from a hosted service to its own system on Better Auth and its own database.

    • Sessions
    • Google & GitHub
    • Cookies
    Open
  • Being written

    Siya: a chat that answers from my own guides

    How the chat on this site finds the right pages of my guides, hands them to an AI through the Vercel AI Gateway, and falls back to plain search when the AI fails. Explained in plain words, with a video and things to click.

    • RAG
    • AI Gateway
    • System design
    Open
  • Planned

    Payments: the building blocks

    What sits between a Buy button and money arriving: checkout, webhooks, idempotency and refunds.

    • Checkout
    • Webhooks
    • Refunds
    Coming later

Working notes by Sanjeev Kujur. Written while building, with the gaps marked.

sanjeevkujur.dev ↗