🍿 Frontend Snacks: Build an AI Agent that Talks to Your Database (No SQL Needed)


Hey Reader,

Ever been stuck writing the same SQL queries over and over again… not because they’re hard, but because someone on your team needed the data and didn’t know how to get it?

I’ve been there. Whether it’s marketing asking,

“How many users signed up last week?” or product wondering, “Did anyone actually use that new feature?”, the questions are simple but the friction to get answers is very real.

So I built something for that.

Introducing: the AI Agent that talks directly to your Postgres database 💽 and lets anyone on your team ask questions in plain English.

No dashboards. No SQL. No risk to production.

And yes, it works right inside your editor!

This is part of my AI Agent Series where I turn everyday dev pain into AI-powered workflows.

PRESENTED BY NEON

Neon Serverless Postgres - The database you love, on a Serverless platform that branches, scales to zero, and provisions instantly.

🍿 Weekly Snack: Blocking Pirated Referrers in Next.js

Recently, I discovered something super frustrating.

Some of my premium content for example, The Modern Full Stack Next.js Course is being served on pirated sites like literally copy-pasted and re-hosted without permission. As an educator who pours hours into crafting real, production-grade tutorials and videos, this really hit hard.

Creating great content isn’t easy. So seeing it passed around for free on shady torrent sites? Yeah, it sucks.

So I took action! 💪

To block requests coming from sketchy domains (like torrentbd.net in my case), I returned a 403 Forbidden in my Next.js middleware:

This middleware checks the referrer header of every request, and if it matches a known bad actor — it shuts the door. No access. No mercy. 🔒

🚀 Latest Frontend News

The Art of Accessibility is a new collection that breaks down core concepts, real-world use cases, and the tools you’ll actually use to build inclusive apps. If accessibility has felt overwhelming, this is the beginner-to-pro pipeline you’ve been waiting for.

Kibo UI just dropped and it’s huge for folks using shadcn/ui.
It’s a custom registry of accessible and composable components.

Retro UI is a nostalgia-packed design system that lets you build vintage UIs with modern dev DX.
Great for playful projects that need personality and yes, it supports Tailwind.

There’s now a drop-in shadcn/ui replacement for Tailwind's Typography plugin. shadcn-prose brings consistent, elegant markdown and prose styles — especially handy for blog-heavy or MDX projects.

Together AI’s Chat UI gives you free access to open-source models like DeepSeek R1 for coding, search, image generation, and analysis all through a sleek, single interface.
Feels like a research assistant in your browser.

🧠 LLM Gateway is the API gateway for all your LLM calls.
Route, manage, and analyze requests across multiple providers with one unified API — clean, centralized infra for AI projects.


⚛️ React Static is quietly making a comeback.
If you want a progressive static site generator that’s fast and React-first (but lighter than Next.js), this one’s worth exploring.

The Beauty of TanStack Router by TkDodo is more than just type safety. It’s a love letter to dev ergonomics, composability, and predictable routing and will probably make you rethink your routing setup.


🧪 Chrome 137 just landed two game-changing CSS features:

  • if() finally lets you write conditional logic in CSS
  • reading-flow improves layout behavior in vertical/horizontal flows

🐛 Error.isError is now Stage 4 in the TC39 process.
It’s a tiny but powerful change: now you can reliably check if a value is an error even in legacy environments without reaching for a helper.

🎥 Weekly Video Pick

Check it out and subscribe to my channel ↗️ for more Frontend, Leadership and Career Development content.

▶️ ​This One Line of Code Fixed My Slow Next.js App (4:52) ↗️

video preview

▶️ How I Built A Complete AI SaaS Agent From Scratch in JUST 13 Minutes!

video preview


What do you think of today's Newsletter? Simply click on one of the links below.

💛 You’re the best!

👌 Pretty Good

✔️ You can do better



All past newsletters
can be found here.

You can email me at me@kulkarniankita.com to advertise/sponsor the newsletter.

For those curious, I write all my emails using Convertkit.

Ankita Kulkarni

Join 9200+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni

Hey friend, ✨ I’m thrilled to share that I’m bringing back my popular workshop, Engineering Manager Blueprint and this time it’s completely FREE 🎁! 📆 When: September 3rd, 2025 - 12:00 - 1:30 pm EST 🤩 📍Where: Zoom Figuring out how to succeed as an Engineering Leader in 2023 can feel like walking through mud. Thankfully, after leading 100+ developers and leaders, I’ve developed a system to make that walk feel shorter and easier. In this 90-minute workshop, you'll learn: A 8-part framework for...

Next.js Type safety

Hey Reader, Now that the Modern Full Stack Next.js Course is live and hundreds of students are already learning from it 🥳, I’ve started thinking about what to build next. I'd love to hear from you. What should I focus on next? I’m working on my next big course, and your input will help shape everything from the topics we cover to the real-world projects we build together. It only takes a couple of minutes to share your thoughts, but it’ll make a huge difference. 👉 Fill out the quick form here...

useTransition frozen ui fix

Hey Reader, I’ve rebuilt my stack for 2025 not because of hype, but because I need tools that help me ship faster while scaling my apps. A few months ago I created a similar video, but since then I have changed quite a few things to help me ship faster. I no longer use a few tools that I shared earlier. In this video, I share the exact principles from some production-ready apps I've shipped. If you’re building SaaS or side projects this year, this might save you weeks 👇. Show some love by...