<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Middleware on Start AI Tools - Presented by Intent Solutions</title><link>https://startaitools.com/tags/middleware/</link><description>Recent content in Middleware on Start AI Tools - Presented by Intent Solutions</description><generator>Hugo</generator><language>en-US</language><copyright>Intent Solutions. All rights reserved.</copyright><lastBuildDate>Thu, 09 Apr 2026 20:56:12 -0500</lastBuildDate><atom:link href="https://startaitools.com/tags/middleware/index.xml" rel="self" type="application/rss+xml"/><item><title>HustleStats Firebase Auth Cutover: 7 Dashboard Pages, 3-Layer Defense, Zero Prisma</title><link>https://startaitools.com/posts/hustlestats-firebase-auth-cutover-seven-pages/</link><pubDate>Sat, 15 Nov 2025 10:00:00 -0600</pubDate><guid>https://startaitools.com/posts/hustlestats-firebase-auth-cutover-seven-pages/</guid><description>&lt;p&gt;The Firebase migration (Days 2-7) gave HustleStats a new auth system and data layer. Today was the cutover — making every dashboard page actually use it.&lt;/p&gt;
&lt;h2 id="phase-1-planning-and-staging"&gt;Phase 1: Planning and Staging&lt;/h2&gt;
&lt;p&gt;Before touching code, I mapped every page that imported NextAuth or Prisma:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dashboard home&lt;/li&gt;
&lt;li&gt;Player list + detail&lt;/li&gt;
&lt;li&gt;Game entry + detail&lt;/li&gt;
&lt;li&gt;Stats overview&lt;/li&gt;
&lt;li&gt;Settings/profile&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Seven pages total. Each one imported &lt;code&gt;getServerSession&lt;/code&gt; from NextAuth and made Prisma queries for data. Every page needed both the auth and data layer swapped.&lt;/p&gt;</description></item></channel></rss>