<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tobiloba Ayomide</title>
    <description>The latest articles on DEV Community by Tobiloba Ayomide (@hunkymanie).</description>
    <link>https://dev.to/hunkymanie</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3843689%2Fed80b30c-c6c8-4749-bc23-507caa40479e.jpeg</url>
      <title>DEV Community: Tobiloba Ayomide</title>
      <link>https://dev.to/hunkymanie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hunkymanie"/>
    <language>en</language>
    <item>
      <title>Rethinking Trust Boundaries in Auth and Billing Flows</title>
      <dc:creator>Tobiloba Ayomide</dc:creator>
      <pubDate>Mon, 18 May 2026 13:10:53 +0000</pubDate>
      <link>https://dev.to/hunkymanie/rethinking-trust-boundaries-in-auth-and-billing-flows-3gao</link>
      <guid>https://dev.to/hunkymanie/rethinking-trust-boundaries-in-auth-and-billing-flows-3gao</guid>
      <description>&lt;p&gt;When subscription logic first gets added to an app, it usually starts in the most convenient place: the frontend. The browser handles the UI, initiates checkout, reacts to redirects, and often ends up carrying more responsibility than it should.&lt;/p&gt;

&lt;p&gt;That approach works early on, but it creates a structural problem. The browser is a useful interface layer, but it is not a reliable trust boundary for payment-sensitive decisions.&lt;/p&gt;

&lt;p&gt;I recently reworked my application so billing and authentication flows no longer depend too heavily on browser-trusted state. Instead, authenticated billing operations now run through server-validated routes, session transport is tightened in production, and subscription state is synchronized through reconciliation and webhook-driven updates rather than optimistic UI assumptions.&lt;/p&gt;

&lt;p&gt;The goal was not to “make the app secure” in some absolute sense. The goal was to make the system more correct, more defensible, and easier to reason about when authentication and billing state diverge.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem With Client-Shaped Billing Flows
&lt;/h2&gt;

&lt;p&gt;A lot of billing implementations become frontend-heavy by accident.&lt;/p&gt;

&lt;p&gt;It usually happens through a series of reasonable decisions. The client starts checkout. The client handles the redirect back. The client updates plan state immediately. The client becomes the first place subscription state is interpreted.&lt;/p&gt;

&lt;p&gt;The problem is that those are not equivalent events.&lt;/p&gt;

&lt;p&gt;A redirect is a user experience event. It is not proof that the local application state is correct. Once money and account access are involved, that distinction matters.&lt;/p&gt;

&lt;p&gt;The more billing state depends on browser timing, browser assumptions, or optimistic UI updates, the harder it becomes to trust the system when something goes wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Architectural Shift
&lt;/h2&gt;

&lt;p&gt;The main change was simple: &lt;code&gt;the browser should request billing actions, but it should not be the authority on billing outcomes&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That led to a cleaner model:&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;The New Model:&lt;/strong&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Browser&lt;/strong&gt; requests an authenticated server route.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server&lt;/strong&gt; validates the session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server&lt;/strong&gt; interacts with the billing provider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database&lt;/strong&gt; records the persistent update.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Client&lt;/strong&gt; receives a normalized response.

&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;p&gt;In this model, the browser handles interaction, the server validates identity, the billing provider confirms commercial state, the database records entitlement, and webhooks correct subscription drift over time.&lt;/p&gt;

&lt;p&gt;This was the real shift. The browser stopped acting like the system of record for billing state.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjq163sj9zr45dhxx0ci3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjq163sj9zr45dhxx0ci3.png" alt="Diagram of a server-validated billing flow from browser to server, billing provider, and persistent storage" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Why This Boundary Matters
&lt;/h2&gt;

&lt;p&gt;When billing logic sits too close to the browser, a few failure modes become common. Stale UI state gets mistaken for real entitlement. Redirects are treated as successful activation. Provider and app state drift apart. Billing correctness becomes harder to audit. Failures become harder to localize.&lt;/p&gt;

&lt;p&gt;Moving billing behind server-validated flows does not remove complexity. It moves that complexity into a more appropriate runtime.&lt;/p&gt;

&lt;p&gt;That is an important distinction. Good architecture is not about having less logic. It is about putting logic in the right place.&lt;/p&gt;
&lt;h2&gt;
  
  
  How I Actually Made the Change
&lt;/h2&gt;

&lt;p&gt;I made the change in four parts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. I moved billing-sensitive actions behind authenticated server routes&lt;/strong&gt;&lt;br&gt;
Instead of letting the browser directly coordinate plan reads, billing management, and checkout logic, the client now talks to server-controlled endpoints.&lt;/p&gt;

&lt;p&gt;That matters because billing routes should not trust arbitrary browser state. They should first prove who the caller is.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A simplified pattern looked like this:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;authenticateUserRequest&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;ApiRequest&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;?:&lt;/span&gt; &lt;span class="nx"&gt;ApiResponse&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;session&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;resolveSessionFromApiRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;userSupabase&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;createUserScopedSupabaseClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;session&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;accessToken&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;profile&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;userSupabase&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;profiles&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;select&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;account_status&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;eq&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;id&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;session&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;maybeSingle&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;profile&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;account_status&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;suspended&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;HttpError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;This account is suspended.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;supabase&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;userSupabase&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;session&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This was the first important boundary correction. Billing routes no longer relied on the browser to define the user context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. I tightened session handling in production&lt;/strong&gt;&lt;br&gt;
The next step was to stop treating session transport as an afterthought.&lt;/p&gt;

&lt;p&gt;In production, the app now treats session cookies differently and ties that behavior to secure deployment conditions.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A simplified example:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;getIsSecureCookie&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;():&lt;/span&gt; &lt;span class="nx"&gt;boolean&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
  &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;NODE_ENV&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;production&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;VERCEL_ENV&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;production&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That lets the application issue cookies with stricter attributes such as Secure, HttpOnly, and SameSite=Lax.&lt;/p&gt;

&lt;p&gt;This does not solve security on its own, but it does narrow the attack surface around authentication and session transport. More importantly, it aligns production auth behavior with the sensitivity of the billing flows it protects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. I stopped treating checkout redirects as proof of subscription activation&lt;/strong&gt;&lt;br&gt;
A user returning from checkout does not automatically mean the app’s local billing state is correct.&lt;/p&gt;

&lt;p&gt;That is why I added reconciliation after the return flow.&lt;/p&gt;

&lt;p&gt;The idea was simple. The user starts checkout. The billing provider handles payment. The user returns to the app. The app triggers reconciliation. The server verifies provider-side state. Local entitlement updates only after verification.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A simplified request looked like this:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/api/plan?view=reconcile&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;POST&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;credentials&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;include&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;customerSessionToken&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That extra step matters because return URLs are UX signals, not trust anchors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2fuj34prem0t1923bfx9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2fuj34prem0t1923bfx9.png" alt="Sequence diagram showing checkout initiation, return to app, reconciliation, and subscription persistence" width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. I added webhook-driven subscription synchronization&lt;/strong&gt;&lt;br&gt;
Even reconciliation on return is not enough by itself.&lt;/p&gt;

&lt;p&gt;Subscriptions change over time. Renewals happen. Cancellations happen. Revocations happen. Those events should not depend on the user actively sitting inside the billing page.&lt;/p&gt;

&lt;p&gt;That is where provider webhooks became important.&lt;/p&gt;

&lt;p&gt;The backend flow became:&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;Billing provider event&lt;/strong&gt;&lt;br&gt;
  -&amp;gt; webhook endpoint&lt;br&gt;
  -&amp;gt; signature verification&lt;br&gt;
  -&amp;gt; event normalization&lt;br&gt;
  -&amp;gt; user resolution&lt;br&gt;
  -&amp;gt; subscription state update&lt;br&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
This made provider events part of the architecture instead of pretending the frontend was the primary coordinator of subscription truth.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34vbmngrpqyjkbzdzd5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F34vbmngrpqyjkbzdzd5d.png" alt="Simple backend webhook architecture diagram showing Billing Provider Event" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Typical Billing Read After the Change
&lt;/h2&gt;

&lt;p&gt;Once the redesign was in place, even a plan or billing read followed a different shape.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A simplified version looked like this:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;view&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;billing&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;supabase&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;authenticateUserRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;customerState&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetchProviderCustomerState&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;subscriptionSummary&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;customerState&lt;/span&gt;
    &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nf"&gt;resolveSubscriptionSummary&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;customerState&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="nf"&gt;sendJson&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;billing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;hasActiveSubscription&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;subscriptionSummary&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;subscriptionSummary&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;recurringInterval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;subscriptionSummary&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;recurringInterval&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;currentPeriodEnd&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;subscriptionSummary&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;currentPeriodEnd&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The point is not the exact implementation. The point is the decision flow: authenticate first, query provider state on the server, normalize the result, and return a constrained response to the client.&lt;/p&gt;

&lt;p&gt;That is a stronger model than letting the browser infer too much.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why HTTPS and Secure Cookies Matter Here
&lt;/h2&gt;

&lt;p&gt;This change also made HTTPS more meaningful.&lt;/p&gt;

&lt;p&gt;It is important to be precise here: HTTPS does not magically stop JavaScript attacks, and it does not replace XSS prevention.&lt;/p&gt;

&lt;p&gt;What HTTPS does do in this architecture is protect session-bearing requests in transit, support secure cookie behavior in production, and reduce the chance of sensitive auth transport being treated casually.&lt;/p&gt;

&lt;p&gt;So the right claim is not that HTTPS solved frontend security.&lt;/p&gt;

&lt;p&gt;The right claim is that HTTPS and secure cookies became part of a larger design where auth and billing moved into server-validated flows.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Solved
&lt;/h2&gt;

&lt;p&gt;This redesign improved a few things immediately.&lt;/p&gt;

&lt;p&gt;It reduced how much billing logic depended on client state. It made the server responsible for validating identity before billing operations ran. It created a clearer distinction between interaction state and entitlement state. It also made debugging easier, because failures became easier to trace to one of a few boundaries: session validation, provider interaction, reconciliation, persistence, or webhook delivery.&lt;/p&gt;

&lt;p&gt;Most importantly, it changed the browser’s role from authority to requester.&lt;/p&gt;

&lt;p&gt;That is the right direction for any application where subscription state controls access.&lt;/p&gt;

&lt;h2&gt;
  
  
  What It Did Not Solve
&lt;/h2&gt;

&lt;p&gt;This kind of redesign should not be overstated.&lt;/p&gt;

&lt;p&gt;It did not eliminate XSS, authorization bugs, bad secret hygiene, broken webhook verification, environment drift, or incorrect sandbox/live billing configuration.&lt;/p&gt;

&lt;p&gt;What it did do was establish a stronger foundation: less browser authority, clearer trust boundaries, more reliable billing state, and better separation between interaction and decision-making.&lt;/p&gt;

&lt;p&gt;That is a meaningful architectural improvement even though it is not a complete security story on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing Thought
&lt;/h2&gt;

&lt;p&gt;The biggest lesson from this change was that billing is not just a payments feature. It is a trust-boundary problem.&lt;/p&gt;

&lt;p&gt;Once I started treating it that way, the architecture became much clearer. The browser initiates. The server validates. The provider confirms. Persistent state records entitlement. Webhooks correct drift over time.&lt;/p&gt;

&lt;p&gt;That model is harder to get wrong than a client-heavy billing flow, and it scales much better as the application becomes more real.&lt;/p&gt;

</description>
      <category>backend</category>
      <category>architecture</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building ResumeeNow: The Engineering Behind an AI-Powered Resume Platform</title>
      <dc:creator>Tobiloba Ayomide</dc:creator>
      <pubDate>Wed, 08 Apr 2026 19:13:36 +0000</pubDate>
      <link>https://dev.to/hunkymanie/building-resumeenow-the-engineering-behind-an-ai-powered-resume-platform-535n</link>
      <guid>https://dev.to/hunkymanie/building-resumeenow-the-engineering-behind-an-ai-powered-resume-platform-535n</guid>
      <description>&lt;p&gt;&lt;em&gt;How I built an AI-powered resume app with resume parsing, ATS audits, cover letter generation, and reliable PDF export.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A few forms, a live preview, a couple of templates, a PDF export button, and that would be it.&lt;/p&gt;

&lt;p&gt;That assumption did not last long.&lt;/p&gt;

&lt;p&gt;As soon as I added resume import, AI tailoring, ATS audits, cover letter generation, and export that actually had to look right on paper, the project stopped being a simple CRUD-style frontend. It became a set of connected systems that all had to agree with each other.&lt;/p&gt;

&lt;p&gt;That was the real challenge.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fidn5vly37fsx1gkaq7wm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fidn5vly37fsx1gkaq7wm.png" alt="The core ResumeeNow workspace, with structured editing on one side and live resume preview on the other" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The hard part was not just building screens. The hard part was making import, editing, AI workflows, export, notifications, and account-aware behavior feel like one coherent app.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Was Actually Building
&lt;/h2&gt;

&lt;p&gt;At first, I described ResumeeNow as a resume builder.&lt;/p&gt;

&lt;p&gt;A more accurate description now is this: it is an AI-powered resume platform where users can import an existing resume, edit it in a structured builder, tailor it for a role with AI, run an ATS audit, generate a cover letter, and export a polished PDF.&lt;/p&gt;

&lt;p&gt;That shift matters, because it changed the engineering constraints.&lt;/p&gt;

&lt;p&gt;A simple form app can get away with loose state and one-directional flows. This project could not. The moment imported data, AI-generated content, and exported documents all had to match, I needed stronger architecture and clearer boundaries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Stack I Chose&lt;/strong&gt;&lt;br&gt;
I built ResumeeNow with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React 19&lt;/li&gt;
&lt;li&gt;Vite 7&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;Tailwind CSS 4&lt;/li&gt;
&lt;li&gt;React Router 7&lt;/li&gt;
&lt;li&gt;React Query 5&lt;/li&gt;
&lt;li&gt;Zustand 5&lt;/li&gt;
&lt;li&gt;Supabase Auth + Postgres&lt;/li&gt;
&lt;li&gt;Vercel API routes&lt;/li&gt;
&lt;li&gt;Supabase Edge Functions&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pdfjs-dist&lt;/code&gt;, &lt;code&gt;unpdf&lt;/code&gt;, and &lt;code&gt;mammoth&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Playwright Core for browser-based PDF rendering&lt;/li&gt;
&lt;li&gt;Zod for validation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That stack let me move quickly, but only because I kept the responsibilities separated.&lt;/p&gt;

&lt;p&gt;On the frontend, routes, builders, dashboards, and templates live in their own feature layers. On the backend, privileged behavior lives in API routes, and AI calls go through a dedicated gateway instead of being scattered across the client.&lt;/p&gt;
&lt;h2&gt;
  
  
  High-Level Architecture
&lt;/h2&gt;

&lt;p&gt;The easiest way to understand the project is to look at it as four user-facing surfaces backed by two server runtimes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdzv9s1jhldzqmgkq140q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdzv9s1jhldzqmgkq140q.png" alt="High-level architecture of ResumeeNow across the public app, builder, server routes, Supabase, AI gateway, and export pipeline" width="800" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This architecture evolved naturally from the project requirements.&lt;/p&gt;

&lt;p&gt;The landing page and docs are public. The dashboard and builder are authenticated. Admin routes are privileged. AI goes through a separate edge function. Export goes through a server-rendered print path. Notifications go through a dedicated delivery route.&lt;/p&gt;

&lt;p&gt;Once I accepted that the project had multiple surfaces with different risks, the codebase became much easier to reason about.&lt;/p&gt;
&lt;h2&gt;
  
  
  1. Splitting the App Into Clear Surfaces
&lt;/h2&gt;

&lt;p&gt;One of the smallest but most important decisions I made was separating the app by route boundaries.&lt;/p&gt;

&lt;p&gt;Instead of letting everything live inside one giant application shell, I split public, protected, print, and admin flows at the router level.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source Spotlight: Router Boundaries&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/print/resume"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ResumePrintPage&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;LandingPage&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ProtectedAppLayout&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/dashboard"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Dashboard&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/builder/:id"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;BuilderPage&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;AdminRouteLayout&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/admin"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Admin&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/admin/users"&lt;/span&gt; &lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;AdminUsers&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt; &lt;span class="p"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This looks simple, but it carries a lot of architectural meaning.&lt;/p&gt;

&lt;p&gt;The print surface is isolated. The public landing page stays outside the protected app. Admin routes sit behind their own gate. That kept responsibilities clear and prevented the project from turning into one overgrown frontend where every page inherited assumptions it should not have had.&lt;/p&gt;

&lt;p&gt;That separation also helped later when I added more backend behavior. Once the route boundaries were clear, it was easier to decide what belonged in the client and what needed to move behind server-side contracts.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Resume Import Turned It Into a Real System
&lt;/h2&gt;

&lt;p&gt;The feature that changed the nature of the project most was import.&lt;/p&gt;

&lt;p&gt;It is easy to build a resume editor when users start from empty fields. It is much harder when they upload a PDF and expect the app to turn it into clean, editable data.&lt;/p&gt;

&lt;p&gt;That forced me to build a parsing pipeline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Import Pipeline&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pq0079f6xer454zij9t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pq0079f6xer454zij9t.png" alt="Import flow from PDF upload to parsed resume content inside the builder" width="800" height="47"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The import route does not just accept a file and hope for the best. It authenticates the request, validates the upload, extracts text on the server, checks whether the text is usable, and only then hands it off to the parser that produces structured resume data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source Spotlight: Import Route&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;joined&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;modules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;cleanupSectionText&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;pageTexts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="se"&gt;\n\n&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;modules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isReadableDocumentText&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;joined&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Could not extract reliable text from this PDF. This often happens with scanned or image-based PDFs without OCR.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That was one of the best product decisions in the whole project.&lt;/p&gt;

&lt;p&gt;Bad parsing is worse than a clear failure message. If the app cannot build trustworthy editor state from a file, it should say so.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0wezej5dmq66g0nbl4q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu0wezej5dmq66g0nbl4q.png" alt="Resume Parsing" width="800" height="890"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The Builder Had to Become a Stable Data Model
&lt;/h2&gt;

&lt;p&gt;Once import existed, the builder could no longer be a loose collection of inputs.&lt;/p&gt;

&lt;p&gt;I needed one normalized resume shape that could support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;manual editing&lt;/li&gt;
&lt;li&gt;imported data&lt;/li&gt;
&lt;li&gt;AI-generated rewrites&lt;/li&gt;
&lt;li&gt;multiple templates&lt;/li&gt;
&lt;li&gt;live preview&lt;/li&gt;
&lt;li&gt;PDF export&lt;/li&gt;
&lt;li&gt;persistence and reload&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That changed how I thought about the project.&lt;/p&gt;

&lt;p&gt;What users experience as “a resume editor” is actually a coordination layer between domain data, UI editing, template rendering, and export. If those layers drift apart, the app becomes fragile very fast.&lt;/p&gt;

&lt;p&gt;So the builder evolved into a set of dedicated modules: domain types for resume data, builder hooks for controller logic, preview components for document rendering, and export helpers that validate payloads before they ever reach the print surface.&lt;/p&gt;

&lt;p&gt;That was one of the clearest moments where the project stopped feeling like a page and started feeling like an application.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. AI Could Not Just Be a Button
&lt;/h2&gt;

&lt;p&gt;One of the core facts about ResumeeNow is that it is AI-powered.&lt;/p&gt;

&lt;p&gt;But I did not want AI to be a marketing label or a thin prompt wrapper. I wanted it to behave like real infrastructure inside the project.&lt;/p&gt;

&lt;p&gt;The app currently supports three main AI workflows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI Tailor&lt;/li&gt;
&lt;li&gt;ATS Audit&lt;/li&gt;
&lt;li&gt;Cover Letter generation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tlmjothieap81ckb8en.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tlmjothieap81ckb8en.png" alt="AI workflow" width="800" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What made those workflows hard was not only generating text. It was controlling them properly.&lt;/p&gt;

&lt;p&gt;I needed session validation, plan-aware access, rate limiting, concurrency handling, usage tracking, and a clear boundary between client requests and model execution. That is why AI goes through a dedicated edge function rather than being called directly from random components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source Spotlight: AI as a Policy Boundary&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;aiGate&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;aiGateError&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;supabaseClient&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rpc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;begin_ai_request&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;user_id_param&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;single&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nx"&gt;beginRequest&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;aiGate&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;BeginAiRequestResult&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;aiGateError&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;beginRequest&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;HttpError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Failed to begin AI request.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;AI_GATE_FAILED&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;details&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;aiGateError&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Unknown error&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This was an important shift in how I treated AI.&lt;/p&gt;

&lt;p&gt;The model call itself is not the whole feature. The surrounding system is the feature. Who can use it? How often? Under what plan? What happens if two requests collide? How do credits and limits behave? How does the result plug back into the builder without feeling detached?&lt;/p&gt;

&lt;p&gt;That is why the AI layer in this project feels more like a workflow engine than a single API call.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. PDF Export Became Its Own Engineering Problem
&lt;/h2&gt;

&lt;p&gt;In a resume app, export quality is not optional.&lt;/p&gt;

&lt;p&gt;The PDF is the thing users actually send to recruiters, hiring managers, and application portals. So it had to be reliable.&lt;/p&gt;

&lt;p&gt;I quickly learned that “export to PDF” is not just a button. It is its own rendering problem.&lt;/p&gt;

&lt;p&gt;I needed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;consistent page sizing&lt;/li&gt;
&lt;li&gt;reliable font loading&lt;/li&gt;
&lt;li&gt;print-specific rendering&lt;/li&gt;
&lt;li&gt;predictable pagination&lt;/li&gt;
&lt;li&gt;a server-side render path&lt;/li&gt;
&lt;li&gt;parity between what the user sees and what gets downloaded&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is why export goes through a dedicated print surface and a browser-based render path rather than trying to serialize arbitrary client HTML directly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Export Flow&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;flowchart LR
  A[Builder state] --&amp;gt; B[Validated export payload]
  B --&amp;gt; C[/api/export-pdf]
  C --&amp;gt; D[/print/resume]
  D --&amp;gt; E[Wait for print readiness and fonts]
  E --&amp;gt; F[Chromium render]
  F --&amp;gt; G[Final PDF]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The trickiest part here was page breaks. A resume looks cheap very fast if the layout splits in the wrong place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source Spotlight: Pagination Logic&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;while &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bottom&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;pageBoundary&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;BREAK_TOLERANCE_PX&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;nextBreak&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
    &lt;span class="nx"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;top&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;currentPageStart&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;BREAK_TOLERANCE_PX&lt;/span&gt;
      &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nx"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;top&lt;/span&gt;
      &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;pageBoundary&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="nx"&gt;currentPageStart&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;nextBreak&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;breaks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;nextBreak&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is one of those tiny pieces of code that carries a much bigger idea.&lt;/p&gt;

&lt;p&gt;I was not relying on the browser to “figure it out.” I added explicit page-break calculation based on measured layout units so lines and blocks would break more predictably across A4 pages.&lt;/p&gt;

&lt;p&gt;That made export feel much more trustworthy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frhatypfp8p4gdmbwtmi5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frhatypfp8p4gdmbwtmi5.png" alt="Live preview vs exported PDF" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The Invisible Operational Work Mattered a Lot
&lt;/h2&gt;

&lt;p&gt;Some of the least visible parts of the project ended up being some of the most important:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;authentication&lt;/li&gt;
&lt;li&gt;account status checks&lt;/li&gt;
&lt;li&gt;notification preferences&lt;/li&gt;
&lt;li&gt;notification delivery state&lt;/li&gt;
&lt;li&gt;admin access control&lt;/li&gt;
&lt;li&gt;audit logging&lt;/li&gt;
&lt;li&gt;plan-aware AI usage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are not flashy features, but they are the difference between a demo and a real app.&lt;/p&gt;

&lt;p&gt;A good example is notification delivery. I did not want notification sending to be a loose fire-and-forget action. I wanted it to behave like a tracked event with preference checks, deduplication, and delivery status.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source Spotlight: Notification Deduplication&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;existingEvent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;NotificationEventRecord&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;isOneTimeType&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;existingEvent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getExistingOneTimeEvent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;supabase&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;requestBody&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;existingEvent&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;existingEvent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;failed&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Notification already handled.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This kind of logic is boring in the best way.&lt;/p&gt;

&lt;p&gt;A welcome email should not send twice because a request retried. A waitlist event should not duplicate itself. AI usage alerts should not spam the user multiple times in the same day. Once I started thinking in terms of event state instead of just “send email now,” the system got much more robust.&lt;/p&gt;

&lt;p&gt;The same thinking showed up in the admin layer too. Riskier actions were pushed through server-side helpers with explicit role checks and audit logging instead of being casually mixed into normal client behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Testing the Quiet Failures
&lt;/h2&gt;

&lt;p&gt;I did not approach testing as a blanket “write tests for everything” exercise.&lt;/p&gt;

&lt;p&gt;Instead, I focused on the parts of the project that could quietly break trust:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;export payload normalization&lt;/li&gt;
&lt;li&gt;pagination behavior&lt;/li&gt;
&lt;li&gt;inline formatting&lt;/li&gt;
&lt;li&gt;AI request control&lt;/li&gt;
&lt;li&gt;persistent cache behavior&lt;/li&gt;
&lt;li&gt;runtime validation&lt;/li&gt;
&lt;li&gt;ATS audit logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are not always the most visible things in the UI, but they are the places where regressions hurt most. If export starts producing subtle layout errors or AI request behavior becomes inconsistent, users do not always know why. They just stop trusting the app.&lt;/p&gt;

&lt;p&gt;That is why a lot of my testing effort went into the seams between features rather than the flashy surface layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What I Would Do Differently
&lt;/h2&gt;

&lt;p&gt;If I were building ResumeeNow again from scratch, I would do a few things earlier.&lt;/p&gt;

&lt;p&gt;I would document the architecture sooner. The project grew from “resume builder” into a multi-surface system faster than I expected, and clearer internal docs would have saved time.&lt;/p&gt;

&lt;p&gt;I would also split some server modules earlier. The notification route, for example, now owns parsing, authentication, preferences, deduplication, persistence, email construction, and delivery behavior. It works, but it is already a clear signal for future refactoring.&lt;/p&gt;

&lt;p&gt;And I would formalize some contracts earlier, especially around the AI and export paths, because those are the places where frontend and backend assumptions get tightly coupled.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;br&gt;
Building ResumeeNow taught me something I keep coming back to:&lt;/p&gt;

&lt;p&gt;the complexity of a project usually hides in the workflows between features, not in the feature list itself.&lt;/p&gt;

&lt;p&gt;The hard part was not making a resume builder UI.&lt;/p&gt;

&lt;p&gt;The hard part was making all of these work together cleanly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;imported document text&lt;/li&gt;
&lt;li&gt;normalized builder state&lt;/li&gt;
&lt;li&gt;AI-assisted workflows&lt;/li&gt;
&lt;li&gt;ATS audit behavior&lt;/li&gt;
&lt;li&gt;cover letter generation&lt;/li&gt;
&lt;li&gt;PDF rendering&lt;/li&gt;
&lt;li&gt;notification delivery&lt;/li&gt;
&lt;li&gt;account-aware permissions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is what made the project interesting.&lt;/p&gt;

&lt;p&gt;ResumeeNow started as a simple idea. What I ended up building was an AI-powered system of parsers, renderers, workflows, and boundaries that all work together to make the app feel simple.&lt;/p&gt;

&lt;p&gt;And that, more than anything else, is what this project taught me: simple products are often powered by a lot of invisible engineering.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check Out the Project
&lt;/h2&gt;

&lt;p&gt;If you want to explore the code, architecture, and implementation details more closely, the ResumeeNow repository is available here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/tobilobaayomide/resumeenow" rel="noopener noreferrer"&gt;GitHub Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’m still improving the project, especially around architecture, AI workflows, and export reliability, but this build taught me a lot about what it really takes to turn a simple app idea into a more complete system.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>react</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
