<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by JAKER HOSSAIN on Medium]]></title>
        <description><![CDATA[Stories by JAKER HOSSAIN on Medium]]></description>
        <link>https://medium.com/@jackfd120?source=rss-63dbd58cdf1b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Zt5X6ke4JrSVemPch1Zh1A.png</url>
            <title>Stories by JAKER HOSSAIN on Medium</title>
            <link>https://medium.com/@jackfd120?source=rss-63dbd58cdf1b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:05:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jackfd120/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[10 Battle-Tested Rules to Close Clients After Landing the First Meeting]]></title>
            <link>https://medium.com/@jackfd120/10-battle-tested-rules-to-close-clients-after-landing-the-first-meeting-bfeaa4c87867?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfeaa4c87867</guid>
            <category><![CDATA[meetings]]></category>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[client-relationship]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 05:06:40 GMT</pubDate>
            <atom:updated>2026-08-04T05:06:40.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8FGJxNLmlTMLQSM6MNPenA.png" /></figure><p>Getting a meeting booked with a potential client is only half the battle. The real magic (and revenue) happens during and immediately after the call.</p><p>Client closing isn’t about sales tricks or high-pressure tactics — it’s a <strong>repeatable process</strong>. The clearer your process, the higher your conversion rate will be.</p><p>If you want to turn discovery calls into signed contracts, here is a 10-step playbook to level up your sales game.</p><h3>1. Never Jump on a Call Blindly 🔍</h3><p>Never show up to a meeting without research. Spend at least 10–15 minutes looking into:</p><ul><li>What the company actually does.</li><li>The background of the person you’re speaking with.</li><li>Their current website, design, content, or product.</li></ul><blockquote><strong><em>Pro Tip:</em></strong><em> Knowing their current pain points before they mention them builds instant trust.</em></blockquote><h3>2. Prepare Your Questions in Advance 📝</h3><p>Before entering the meeting, write down <strong>5 to 10 insightful questions</strong>. Great questions lead to great discussions, and great discussions lead to conversions.</p><p>Asking the right questions shifts you from a “vendor” to an “expert consultant.”</p><h3>3. Bring Relevant Case Studies (Not Generic Portfolios) 📂</h3><p>Instead of showing a long, generic portfolio, prepare <strong>2 to 3 case studies</strong> that directly align with their industry or business model. Clients care about how you solved a problem similar to theirs, not everything you’ve ever built.</p><h3>4. Listen More, Pitch Less 🎧</h3><p>Spend the first 5 minutes understanding their business rather than pitching your services.</p><ul><li><strong>Rule of thumb:</strong> Listen 70% of the time, speak 30%. Let the client talk about their goals and frustrations first.</li></ul><h3>5. Sell Solutions, Not Features 💡</h3><p>Clients don’t buy code, frameworks, or features — they buy outcomes. Don’t waste time explaining <em>how</em> your tech stack works. Show them <strong>how your solution solves their specific business problem</strong> and impacts their bottom line.</p><h3>6. Don’t Defend Against Objections — Understand Them 🛑</h3><p>When a client brings up an objection (e.g., budget, timeline, scope), don’t get defensive right away. Ask follow-up questions to understand the <em>root cause</em> of their concern.</p><p>Addressing the core fear is the only way to clear objections cleanly.</p><h3>7. Uncover “I Need to Think About It” 🤔</h3><p>Never end a call on a vague <em>“I’ll think about it and get back to you.”</em></p><p>Politely ask:</p><blockquote>“I completely understand! Just so I can provide any extra info, what specific part would you like to reflect on?”</blockquote><p>Most of the time, their real objection is hidden behind that single phrase.</p><h3>8. Secure the Next Step Before Hanging Up 📅</h3><p>If the client needs approval from a partner or decision-maker:</p><ul><li><strong>Schedule the follow-up meeting on the call itself.</strong> Don’t wait to send emails later.</li><li>Try to connect on personal/direct channels like <strong>WhatsApp, Slack, or LinkedIn</strong> to keep lines of communication warm.</li></ul><h3>9. Send a Recap Email Within 1 Hour ⏱️</h3><p>Speed matters. Send a concise summary of the discussion within an hour of ending the meeting. This demonstrates high professionalism, recaps agreed points, and keeps the momentum going while the call is still fresh.</p><h3>10. Define Clear Action Items 🎯</h3><p>Before you disconnect, explicitly agree on the <strong>Next Steps</strong>:</p><ul><li>Who is responsible for what?</li><li>What are the deadlines?</li></ul><p>Clear accountability is often the exact line between closing a deal and getting ghosted.</p><h3>Final Thoughts 💭</h3><p>Closing clients isn’t magic; it’s a system. Focus on understanding their needs, establishing clear next steps, and delivering value at every touchpoint.</p><p>Refine your process, stay consistent, and watch your closing ratio rise! 📈</p><h3>💬 What’s your go-to strategy for closing calls?</h3><p><em>Let’s discuss in the comments below!</em></p><p>👨‍💻 About the Author<br>Name: <strong>JAKER HOSSAIN</strong><br>Username: <a href="https://dev.to/jackfd120">@jackfd120</a><br>Role: Senior Frontend Developer<br>Portfolio: <a href="https://poran-portfolio.up.railway.app/">https://poran-portfolio.up.railway.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfeaa4c87867" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Building Next.js Apps on Your VPS: A Zero-Downtime Docker TAR Deployment Strategy]]></title>
            <link>https://medium.com/@jackfd120/stop-building-next-js-apps-on-your-vps-a-zero-downtime-docker-tar-deployment-strategy-06f7f9ad0537?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/06f7f9ad0537</guid>
            <category><![CDATA[vps]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[docker-compose]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Mon, 03 Aug 2026 12:34:51 GMT</pubDate>
            <atom:updated>2026-08-03T12:34:51.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ckDgniJ44z7RqiaHBNGglA.png" /></figure><p>How to speed up deployments, prevent OOM errors, and achieve consistent production environments without high-cost infrastructure.</p><h3>The Problem With Server-Side Builds</h3><p>If you’ve ever run docker build on a $5 or $10/month VPS, you’ve likely encountered hanging processes, memory exhaustion, or dropped HTTP connections. Building Next.js applications in resource-constrained environments isn&#39;t just slow—it&#39;s risky.</p><p>By moving the build step completely off the production server, you decouple resource consumption from execution.</p><p>Here is the exact <strong>Docker TAR Artifact Pipeline</strong> implemented for <strong>BdCommerce SaaS</strong> to achieve ultra-fast, reliable deployments.</p><h3>The Strategy: Build Local, Ship Tarball</h3><p>Instead of pushing raw code to a server and compiling it there, we compile locally into a Docker image, compress it into a .tar bundle, and ship the static artifact directly to the server.</p><pre>Local Build  ──►  Docker TAR  ──►  SCP Transfer  ──►  Docker Load  ──►  Zero-Build Run</pre><h3>1. Build &amp; Export (Local Workstation)</h3><p>First, build your production-ready image locally.</p><blockquote><em>⚠️ </em><strong><em>Critical for Next.js:</em></strong><em> Variables prefixed with </em><em>NEXT_PUBLIC_ are baked into the build output at compile time. Changing them requires a full rebuild.</em></blockquote><pre># Step 1: Build the production image<br>docker build -t bdcommerce_saas_panel:prod .<br><br># Step 2: Export to a transferable archive<br>docker save -o bdcommerce_saas_panel.tar bdcommerce_saas_panel:prod<br><br># Step 3: Transfer to target server (set ip and expected folder location)<br>scp bdcommerce_saas_panel.tar poran@yourip:/home/frontend/bdcommerce-saas-panel/</pre><h3>2. Load &amp; Deploy (Production VPS)</h3><p>Connect to your VPS and swap the old image with the newly imported artifact without rebuilding a single line of code.</p><pre># Step 1: SSH into server (provide valid user and ip)<br>ssh user@5.745.145.10<br><br># Step 2: Navigate to project workspace<br>cd /home/frontend/bdcommerce-saas-panel<br><br># Step 3: Import image into local Docker registry<br>docker load -i bdcommerce_saas_panel.tar<br><br># Step 4: Recreate containers with new image<br>docker compose up -d --force-recreate<br><br># Step 5: Clean up archive to save disk space (Optional)<br>rm bdcommerce_saas_panel.tar</pre><h3>🔍 Verification &amp; Health Checks</h3><p>Verify your deployment and monitor logs immediately after firing up the container:</p><pre># Verify running state<br>docker ps<br><br># Stream logs to ensure no runtime runtime crashes<br>docker logs bdcommerce_saas_panel -f</pre><p>By using --force-recreate, Docker stops the old container and immediately spins up a new instance pointing to the newly loaded image layer, reducing downtime to seconds.</p><h3>Post-Deployment Checklist</h3><p>To ensure your application is running cleanly:</p><ul><li><strong>Check status:</strong> Run docker ps to verify container health.</li><li><strong>Inspect logs:</strong> Run docker logs bdcommerce_saas_panel to catch startup errors.</li><li><strong>Purge CDN Cache:</strong> In Cloudflare, trigger a full cache purge to flush stale static assets.</li><li><strong>Disk Housekeeping:</strong> Remove the .tar file post-load (rm bdcommerce_saas_panel.tar) to prevent disk bloat over time.</li></ul><h3>Key Takeaways</h3><ol><li><strong>Never build on production servers</strong> if you can avoid it.</li><li><strong>Bake frontend environment variables</strong> at build time; inject backend runtime variables via .env.</li><li><strong>Automate image transfers</strong> using saved TAR artifacts when running private servers without an external image registry like Docker Hub or ECR.</li></ol><p>👨‍💻 About the Author<br>Name: <strong>JAKER HOSSAIN</strong><br>Username: <a href="https://dev.to/jackfd120">@jackfd120</a><br>Role: Senior Frontend Developer<br>Portfolio: <a href="https://poran-portfolio.up.railway.app/">https://poran-portfolio.up.railway.app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06f7f9ad0537" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Push Code From One GitHub Repository to Another (Step-by-Step Guide)]]></title>
            <link>https://medium.com/codetodeploy/how-to-push-code-from-one-github-repository-to-another-step-by-step-guide-b4c31cb3b4fd?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4c31cb3b4fd</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[workflow]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 10:12:13 GMT</pubDate>
            <atom:updated>2026-03-02T18:07:04.743Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn how to push your local Git branch to a different GitHub repository and specific branch using multiple remotes. Clean, professional workflow explained step-by-step.</p><blockquote><strong>🚀 High-Paying Tech Roles Are Open Right Now.<br> Apply Quickly — The Faster You Move, The Better Your Chance To Get Selected.<br></strong><a href="https://medium.com/codetodeploy/important-steps-before-submitting-your-job-application-a4bba9ace06b"><strong> 👉 Apply &amp; Secure Your Job</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKpv5BDiHaah0D8yX4vjjA.png" /></figure><p>Sometimes you’re working in one GitHub repository, but you need to push the same code into another repository — and specifically into a different branch, like homepage.</p><p>This is a common real-world scenario when:</p><ul><li>You maintain a team repository and a personal repository</li><li>You deploy from a separate repo</li><li>You need different branch strategies</li><li>You’re restructuring projects</li></ul><p>In this guide, I’ll show you the clean, professional workflow step-by-step.</p><h3>Real Scenario (Example)</h3><h3>Current Working Repository</h3><p>Repository:<br> <a href="https://github.com/expertsquad/brain1-website.git">https://github.com/expertsquad/brain1-website.git</a></p><p>Branches:</p><ul><li>main (you are working here)</li></ul><p>Check your remote:</p><pre>git remote -v</pre><p>Output:</p><pre>origin  https://github.com/expertsquad/brain1-website.git (fetch)<br>origin  https://github.com/expertsquad/brain1-website.git (push)</pre><h3>Target Repository</h3><p>Repository:<br> <a href="https://github.com/tedd-brain1/brain1.com.git">https://github.com/tedd-brain1/brain1.com.git</a></p><p>Branches:</p><ul><li>main</li><li>homepage ← you want to push here</li></ul><h3>Do You Need to Connect the Second Repository?</h3><p>Yes.</p><p>Your current project only knows about one remote (origin).<br> To push to another repository, you must add it as a new remote.</p><h3>Important Concept</h3><p>A Git repository can:</p><ul><li>Have multiple remotes</li><li>Push different branches to different remotes</li><li>Sync the same project across multiple GitHub repositories</li></ul><p>You are not copying the project.<br>You are simply pushing your local branch to another remote server.</p><h3>Step-by-Step Professional Workflow</h3><h3>Step 1 — Verify Current Remote</h3><pre>git remote -v</pre><p>You should see:</p><pre>origin https://github.com/expertsquad/brain1-website.git</pre><h3>Step 2 — Add the Second Repository as a New Remote</h3><p>Do NOT replace origin.<br>Add a new remote name:</p><pre>git remote add brain1 https://github.com/tedd-brain1/brain1.com.git</pre><p>Verify:</p><pre>git remote -v</pre><p>Now you should see:</p><pre>origin  https://github.com/expertsquad/brain1-website.git<br>brain1  https://github.com/tedd-brain1/brain1.com.git</pre><h3>Step 3 — Fetch Branches From Target Repository</h3><pre>git fetch brain1</pre><p>Check available branches:</p><pre>git branch -r</pre><p>You should see something like:</p><pre>brain1/main<br>brain1/homepage<br>origin/main</pre><h3>Step 4 — Push Your Code to the homepage Branch</h3><p>If you are currently on main:</p><pre>git branch</pre><p>Output:</p><pre>* main</pre><p>Push local main to remote homepage:</p><pre>git push brain1 main:homepage</pre><p>What this means:<br>local main → brain1/homepage<br>Done.<br>Your code is now inside:<br>tedd-brain1/brain1.com → homepage branch</p><h3>If homepage Already Has Code</h3><p>If homepage already contains files and you want to completely replace it:<br>Use --force carefully.<br> It overwrites the remote branch history.</p><pre>git push brain1 main:homepage --force</pre><h3>Alternative: Merge Instead of Replace</h3><p>If you don’t want to overwrite existing content:<br>This merges your changes instead of replacing everything.</p><pre>git checkout -b homepage brain1/homepage<br>git merge main<br>git push brain1 homepage</pre><h3>Optional: Remove the Second Remote Later</h3><p>If you no longer need the extra remote:</p><pre>git remote remove brain1</pre><h3>Best Practices:</h3><ul><li>Keep origin as your primary repository</li><li>Add deployment repositories as secondary remotes</li><li>Avoid force pushing unless necessary</li><li>Always fetch before pushing</li><li>Never rename the origin unless you fully understand the impact</li></ul><h3>Command Summary</h3><p>Add second repo:</p><pre>git remote add brain1 &lt;repo-url&gt;</pre><p>Fetch branches:</p><pre>git fetch brain1</pre><p>Push main → homepage:</p><pre>git push brain1 main:homepage</pre><p>Force replace branch (if only):</p><pre>git push brain1 main:homepage --force</pre><p>Remove remote (if need):</p><pre>git remote remove brain1</pre><h3>Final Takeaway</h3><p>You don’t need to:</p><ul><li>Clone the project again</li><li>Copy files manually</li><li>Reinitialize Git</li></ul><p>Just add another remote and push strategically.<br>That’s the clean engineering approach.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4c31cb3b4fd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codetodeploy/how-to-push-code-from-one-github-repository-to-another-step-by-step-guide-b4c31cb3b4fd">How to Push Code From One GitHub Repository to Another (Step-by-Step Guide)</a> was originally published in <a href="https://medium.com/codetodeploy">CodeToDeploy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Centralized Action for Large-Scale SaaS with Next.js]]></title>
            <link>https://medium.com/codetodeploy/building-a-centralized-action-for-large-scale-saas-with-next-js-85b645e2e5c1?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/85b645e2e5c1</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[backend-development]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Sat, 06 Dec 2025 05:02:31 GMT</pubDate>
            <atom:updated>2026-03-12T14:08:16.912Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn how to implement a centralized mutation system for multi-tenant SaaS using Next.js Server Actions. Explore RBAC, multi-subdomain handling, cache revalidation, and scalable API patterns for secure, maintainable backend architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ijlSXos9M3ay1cqTQXjMDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*icKAqhKTYN4Ye6QtFMmtWA.png" /><figcaption><a href="https://medium.com/codetodeploy"><strong>Follow CodeToDeploy</strong></a></figcaption></figure><p><strong>A. Architecture Overview</strong></p><p>In large SaaS projects, handling server actions individually in every module creates:</p><p>1- Code duplication<br>2- Inconsistent authorization checks<br>3- Cache invalidation issues<br>4 -Multi-tenant subdomain problems</p><p>The centralized mutation engine consolidates all API mutations into one reusable function. It handles authentication, authorization, shop/subdomain context, request payloads, fetch execution, and cache revalidation.</p><p><strong>B. Core Utilities</strong></p><p>logger — Structured logging for debugging and monitoring.</p><p>resolveModelName — Converts route names like <strong><em>saved-attribute → saved_attribute.</em></strong></p><p>hasPermission &amp; parseAccessRules — Implements RBAC to check if a user can perform a specific action.</p><p>getBaseUrlWithSubdomain — Resolves the correct API base URL based on the shop subdomain.</p><p><strong>C. Authentication Handling</strong></p><pre>if (requireAuth) {<br>  accessToken = cookieStore.get(&quot;accessToken&quot;)?.value;<br>  if (!accessToken) return { message: &quot;You are not authorized to perform this action!&quot; };<br>}</pre><ul><li>Validates JWT access token.</li><li>Immediately stops unauthorized requests.</li></ul><p><strong>D. Shop / Subdomain Context</strong></p><pre>if (requireShopId) {<br>  subdomain = cookieStore.get(&quot;shopSubdomain&quot;)?.value;<br>  if (!subdomain) return { message: &quot;Shop identifier not found!&quot; };<br>}</pre><ul><li>Supports multi-tenant SaaS using shop subdomains.</li><li>Injects x-app-identifier for API requests.</li></ul><p><strong>E. Role-Based Access Control (RBAC)</strong></p><pre>const rulesRaw = cookieStore.get(&quot;accessRules&quot;)?.value;<br>const rules = parseAccessRules(rulesRaw);<br>const model = resolveModelName(route.split(&quot;/&quot;)[1]);<br>const action = methodToAction[method];<br>if (!hasPermission(rules, model, action)) return { success: false, message: &quot;Permission denied&quot; };</pre><p>-Maps HTTP methods → CRUD actions.<br>-Validates permissions dynamically.<br>-Ensures consistent security across the SaaS.</p><p><strong>F. Dynamic Payload Handling</strong></p><pre>let body: string | undefined = undefined;<br>if (method === &quot;DELETE&quot; &amp;&amp; ids?.length) body = JSON.stringify({ ids });<br>else if (method !== &quot;DELETE&quot; &amp;&amp; data) body = data;</pre><p>-Supports single ID deletion, bulk deletion, and POST/PUT payloads.</p><p><strong>G. Fetch Execution</strong></p><pre>const response = await fetch(url, { method, headers, body, cache: &quot;no-store&quot; });<br>const result = await response.json();</pre><p>-Executes server-side mutations with fresh data (no-store).<br>-Centralizes API interaction logic.</p><p><strong>H. Cache Revalidation</strong></p><pre>paths.forEach(path =&gt; typeof path === &quot;string&quot; &amp;&amp; revalidatePath(path));<br>tags.forEach(tag =&gt; typeof tag === &quot;string&quot; &amp;&amp; revalidateTag(tag));</pre><p>-Automatically revalidates Next.js paths or tags after mutation.<br>-Ensures UI always reflects the latest backend data.</p><p><strong>I. Error Handling &amp; Logging</strong></p><pre>catch (error) {<br>  logger(error);<br>  return { success: false, message: &quot;An error occurred during the mutation.&quot; };<br>}</pre><p>-Standardizes error handling.<br>-Logs all server-side errors for monitoring.</p><p><strong>J. Benefits</strong></p><ol><li>Reusability — Single mutation handler for all models.</li><li>Security — Global RBAC enforcement.</li><li>Multi-Tenant Ready — Handles shop-specific subdomains.</li><li>Consistency — Unified logging, error handling, and cache revalidation.</li><li>Scalability — Easy to extend as SaaS grows.</li></ol><p><strong>K. Usage Example</strong></p><pre>await mutation({<br>  route: &quot;/customer&quot;,<br>  method: &quot;POST&quot;,<br>  data: JSON.stringify({ name: &quot;John Doe&quot; }),<br>  pathToRevalidate: &quot;/customers&quot;,<br>  tagsToRevalidate: [&quot;customer-list&quot;],<br>});</pre><p>-Handles authentication, RBAC, payload, and cache invalidation in one call.</p><pre>                 ┌────────────────────┐<br>                 │  Client / Frontend │<br>                 │ (React / Next.js)  │<br>                 └─────────┬──────────┘<br>                           │<br>                           ▼<br>                 ┌────────────────────┐<br>                 │  Server Action Call│<br>                 │   mutation(params) │<br>                 └─────────┬──────────┘<br>                           │<br>             ┌─────────────┴─────────────┐<br>             │                           │<br>             ▼                           ▼<br>   ┌───────────────────┐        ┌───────────────────┐<br>   │  AUTHENTICATION   │        │ SHOP / SUBDOMAIN  │<br>   │ check JWT token   │        │ get shopidentifier│<br>   │ from cookies      │        │ from cookies      │<br>   └─────────┬─────────┘        └─────────┬─────────┘<br>             │                           │<br>             └─────────────┬─────────────┘<br>                           ▼<br>                 ┌────────────────────┐<br>                 │ ROLE-BASED ACCESS  │<br>                 │ CONTROL (RBAC)     │<br>                 │ hasPermission()    │<br>                 │ parseAccessRules() │<br>                 └─────────┬──────────┘<br>                           ▼<br>                 ┌────────────────────┐<br>                 │  Construct Headers │<br>                 │ - Authorization    │<br>                 │ - x-app-identifier │<br>                 └─────────┬──────────┘<br>                           ▼<br>                 ┌─────────────────────┐<br>                 │   Determine Payload │<br>                 │  - DELETE ids array │<br>                 │  - POST / PUT data  │<br>                 └─────────┬─────────  ┘<br>                           ▼<br>                 ┌────────────────────┐<br>                 │     FETCH Request  │<br>                 │   method, headers, │<br>                 │       body         │<br>                 └─────────┬──────────┘<br>                           ▼<br>                 ┌────────────────────┐<br>                 │  Response Handling │<br>                 │ - parse JSON       │<br>                 │ - log errors       │<br>                 └─────────┬──────────┘<br>                           ▼<br>             ┌─────────────┴─────────────┐<br>             │                           │<br>             ▼                           ▼<br>   ┌───────────────────┐        ┌──────────────────┐<br>   │ PATH REVALIDATION │        │ TAG REVALIDATION │<br>   │ revalidatePath()  │        │ revalidateTag()  │<br>   └─────────┬─────────┘        └────────┬─────────┘<br>             │                           │<br>             └─────────────┬─────────────┘<br>                           ▼<br>                 ┌─────────────────────┐<br>                 │      CLIENT UI      │<br>                 │  Updated with fresh │<br>                 │      data           │<br>                 └─────────────────────┘</pre><p>Full Code Block (mutation.ts): <a href="https://github.com/poran120/react-nextjs-boilerplate/blob/boilerplate%40v2/src/core/actions/mutation.ts">https://github.com/poran120/react-nextjs-boilerplate/blob/boilerplate-r-n-t/src/core/actions/mutation.ts</a></p><p><strong>M. Takeaways</strong></p><ol><li>Centralized server actions reduce boilerplate and improve maintainability.</li><li>RBAC ensures consistent security across all API mutations.</li><li>Subdomain-aware multi-tenant architecture supports SaaS scalability.</li><li>Automatic cache revalidation guarantees UI always displays fresh data.</li></ol><p><strong>Summary: </strong>Implementing a centralized mutation engine in a large-scale SaaS project dramatically improves code maintainability, security, and scalability. By consolidating authentication, role-based access control (RBAC), multi-tenant subdomain handling, payload management, and cache revalidation into a single server action, developers can:</p><p>-Eliminate repetitive code across multiple endpoints.</p><p>-Enforce consistent security with dynamic permission checks.</p><p>-Support multi-tenant architectures efficiently via subdomain-aware API calls.</p><p>-Ensure UI consistency by automatically revalidating Next.js paths and tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ijlSXos9M3ay1cqTQXjMDw.png" /></figure><p>-Scale easily as the SaaS grows, adding new models or endpoints without breaking existing logic.</p><p>In essence, this approach creates a robust, maintainable, and secure foundation for handling server-side mutations in any complex SaaS ecosystem. It’s a best-practice architecture that balances developer efficiency, security, and performance, making your backend easier to manage and your frontend more reliable.</p><p>👨‍💻 About the Author<br>Name: <strong>JAKER HOSSAIN</strong><br>Username: <a href="https://dev.to/jackfd120">@jackfd120</a><br>Role: Frontend Engineer at <a href="https://www.expertsquad.net/"><strong>Expert Squad</strong></a><br>Portfolio: <a href="https://www.poranfolio.space/"><strong>https://www.poranfolio.space/</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85b645e2e5c1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codetodeploy/building-a-centralized-action-for-large-scale-saas-with-next-js-85b645e2e5c1">Building a Centralized Action for Large-Scale SaaS with Next.js</a> was originally published in <a href="https://medium.com/codetodeploy">CodeToDeploy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplifying Query Parameters in Next.js 14/15 with React Query and TypeScript]]></title>
            <link>https://medium.com/coding-nexus/simplifying-query-parameters-in-next-js-14-15-with-react-query-and-typescript-9e305da13bf1?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e305da13bf1</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[query-optimization]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[query]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Thu, 19 Jun 2025 09:13:32 GMT</pubDate>
            <atom:updated>2026-03-12T14:10:39.195Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1aRS05lbjVys9qRPsDHtiQ.png" /></figure><p>Take control of query parameters using TypeScript-powered utilities like <strong>queryExtractor</strong>, <strong>paramsExtractor</strong>, and <strong>fetchData</strong>. A real-world guide to scaling your dynamic pages in React &amp; Next.js</p><p>📌 Overview<br>If you’re building a modern frontend application with Next.js App Router (14/15), you’re likely dealing with query params for:</p><ol><li>Search</li><li>Filter (price range, brand, category, color)</li><li>Sort</li><li>Pagination</li></ol><p>This article will walk you through how to parse, build, and use query parameters using powerful, reusable TypeScript utilities like:</p><p>🔍 <a href="https://medium.com/@jackfd120/one-function-endless-possibilities-meet-paramsextractor-bce06684ef09">paramsExtractor</a><br>🔧 <a href="https://dev.to/jackfd120/simplifying-query-parameters-in-nextjs-1415-with-react-query-and-typescript-4755">queryExtractor</a><br>⚙️ <a href="https://medium.com/@jackfd120/-59ad3af4c739">fetchData</a></p><p>🧠 <strong>Why This Approach</strong>?<br>✅ Next.js 14 compatible — works with App Router and server components<br>✅ Type-safe and reusable<br>✅ Easily composable with filters, pagination, and API queries<br>✅ Works seamlessly with React Query or server-side fetching<br>✅ Clean and maintainable for long-term scaling</p><p>🧩 <strong>Example: Category Page in Next.js</strong></p><pre>const CategoryPage = async ({<br>  searchParams,<br>}: {<br>  searchParams: Promise&lt;Record&lt;string, string | string[]&gt; | undefined&gt;;<br>}) =&gt; {<br>  const { filter } = await paramsExtractor({<br>    searchParam: searchParams,<br>  });<br><br>  const stringifiedQuery = queryExtractor({<br>    sortBy: filter?.sortBy,<br>// You can organize the extra field more in queryExtractor. (Soon I&#39;ll update it)<br>    extra: {<br>      &quot;variants.sellingPrice[gte]&quot;: filter?.min_price,<br>      &quot;variants.sellingPrice[lte]&quot;: filter?.max_price,<br>      &quot;variants.variantName&quot;: filter?.color_name<br>        ? filter.color_name.split(&quot;,&quot;).map((b) =&gt; b.trim())<br>        : [],<br>      &quot;brand.brandName&quot;: filter?.brandNames<br>        ? filter.brandNames.split(&quot;,&quot;).map((b) =&gt; b.trim())<br>        : [],<br>      &quot;category.categoryName&quot;: filter?.categoryNames<br>        ? filter.categoryNames.split(&quot;,&quot;).map((b) =&gt; b.trim())<br>        : [],<br>    },<br>  });<br><br>  const productsData = await fetchData({<br>    route: &quot;/product&quot;,<br>    query: stringifiedQuery,<br>    limit: 18,<br>    tags: [&quot;/product&quot;],<br>  });<br><br>  // render your component using productsData<br>};</pre><p>🧩 What is <a href="https://medium.com/@jackfd120/one-function-endless-possibilities-meet-paramsextractor-bce06684ef09"><strong>paramsExtractor</strong></a>?<br>If you haven’t read it yet, check out the full breakdown of paramsExtractor. It’s a utility that parses searchParams from Next.js and returns a normalized object with:</p><ol><li>Cleaned values</li><li>Mapped keys</li><li>Optional conversion to array, number, or string</li><li>Proper defaults</li></ol><p>Perfect for server-side usage in dynamic routes like /category?brand=Apple,Samsung&amp;sortBy=price.</p><p>🔧 <a href="https://dev.to/jackfd120/simplifying-query-parameters-in-nextjs-1415-with-react-query-and-typescript-4755"><strong>queryExtractor</strong></a>: Build Clean Query Strings<br>This utility transforms a QueryOptions object into a query string with support for:</p><ol><li>Defaults</li><li>Nested filtering (e.g., variants.sellingPrice[gte])</li><li>Arrays</li><li>Optional values</li></ol><p>⚡ <strong>fetchData: Data Fetching Made Clean</strong><br>fetchData is an abstraction over fetch (or Axios) with a powerful config API:</p><pre>// The fetchData action is customized for my project; you can use the default as well.<br><br>await fetchData({<br>  route: &quot;/product&quot;,<br>  query: &quot;category=Phone&amp;brand=Apple&quot;,<br>  limit: 18,<br>  tags: [&quot;/product&quot;],<br>});</pre><p>More on this utility in the official guide 👉 <a href="https://medium.com/@jackfd120/-59ad3af4c739"><strong>read now</strong></a></p><p>🧵 <strong>Connect Everything</strong><br>With these 3 pieces, your Next.js dynamic page becomes scalable and maintainable:</p><ol><li><strong>paramsExtractor</strong>: Server-side param parsing</li><li><strong>queryExtractor</strong>: Build structured queries</li><li><strong>fetchData</strong>: Fetch paginated, sorted, and filtered data from the backend</li></ol><p>All of this while keeping TypeScript and React Query (or fetch) integration seamless.</p><p>🔧 <strong>Using queryExtractor as a Standalone Utility</strong><br>📦 Step 1: Add the Utility Function<br>Here’s the complete code for <strong>queryExtractor</strong>:</p><pre>export interface QueryOptions {<br>  searchTerm?: string;<br>  sortBy?: string;<br>  sortOrder?: &quot;asc&quot; | &quot;desc&quot;;<br>  page?: number;<br>  limit?: number;<br>  extra?: Record&lt;string, any&gt;;<br>}<br><br>export const queryExtractor = ({<br>  searchTerm,<br>  sortBy = &quot;created_at&quot;,<br>  sortOrder = &quot;desc&quot;,<br>  page = 1,<br>  limit = 10,<br>  extra = {},<br>}: QueryOptions): string =&gt; {<br>  const query = new URLSearchParams();<br><br>  if (searchTerm?.trim()) query.set(&quot;searchTerm&quot;, searchTerm.trim());<br>  query.set(&quot;sortBy&quot;, sortBy);<br>  query.set(&quot;sortOrder&quot;, sortOrder);<br>  query.set(&quot;page&quot;, Math.max(1, page).toString());<br>  query.set(&quot;limit&quot;, Math.max(1, limit).toString());<br><br>  Object.entries(extra).forEach(([key, value]) =&gt; {<br>    if (value !== undefined &amp;&amp; value !== null) {<br>      if (Array.isArray(value)) {<br>        value.forEach((val) =&gt; {<br>          if (val !== &quot;&quot;) query.append(key, String(val));<br>        });<br>      } else {<br>        query.append(key, String(value));<br>      }<br>    }<br>  });<br><br>  return query.toString();<br>};</pre><p>✅ <strong>Step 2: Basic Example</strong></p><pre>import { queryExtractor } from &quot;./queryExtractor&quot;;<br><br>const queryString = queryExtractor({<br>  searchTerm: &quot;laptop&quot;,<br>  sortBy: &quot;price&quot;,<br>  sortOrder: &quot;asc&quot;,<br>  page: 2,<br>  limit: 20,<br>  extra: {<br>    &quot;brand&quot;: [&quot;HP&quot;, &quot;Dell&quot;],<br>    &quot;category&quot;: &quot;Electronics&quot;,<br>    &quot;price[gte]&quot;: 1000,<br>    &quot;price[lte]&quot;: 3000,<br>  },<br>});<br><br>console.log(queryString);<br><br>// Output:<br>// searchTerm=laptop&amp;sortBy=price&amp;sortOrder=asc&amp;page=2&amp;limit=20&amp;brand=HP&amp;brand=Dell&amp;category=Electronics&amp;price[gte]=1000&amp;price[lte]=3000</pre><p>💡<strong>Pro Tips</strong></p><ol><li>Supports arrays (e.g., brand=HP&amp;brand=Dell)</li><li>Ignores empty/null/undefined values</li><li>Safe defaults for sortBy, sortOrder, page, and limit</li><li>Can be reused anywhere: backend services, Node.js CLI tools, etc.</li></ol><p>🏁 <strong>Final Thoughts</strong><br>This setup:</p><p>✅ Makes query management clean and DRY<br>✅ Enhances developer experience with strong typing<br>✅ Scales easily with complex filters<br>✅ Plays nicely with Next.js App Router<br>✅ Perfect for dynamic category/product/search pages</p><p>To get all the utils, visit this repo: <a href="https://github.com/poran120/react-nextjs-boilerplate/tree/boilerplate%40v2">https://github.com/poran120/react-nextjs-boilerplate/tree/boilerplate%40v2</a></p><p>👨‍💻 About the Author<br>Name: JAKER HOSSAIN<br>Username: <a href="https://dev.to/jackfd120">@jackfd120</a><br>Role: Senior Frontend Developer<br>Portfolio: <a href="https://www.poranfolio.space/">https://www.poranfolio.space/</a></p><p>I write about scalable frontend architecture, modern React/Next.js patterns, and TypeScript best practices.<br>If you liked this post, feel free to follow or reach out via my portfolio!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e305da13bf1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-nexus/simplifying-query-parameters-in-next-js-14-15-with-react-query-and-typescript-9e305da13bf1">Simplifying Query Parameters in Next.js 14/15 with React Query and TypeScript</a> was originally published in <a href="https://medium.com/coding-nexus">Coding Nexus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is React.js and Why You Should Learn It in 2025]]></title>
            <link>https://medium.com/codetodeploy/what-is-react-js-and-why-you-should-learn-it-in-2025-69c234e25544?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/69c234e25544</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Thu, 29 May 2025 14:22:07 GMT</pubDate>
            <atom:updated>2026-03-04T11:49:26.330Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ny5CEi6PPKricbg_rmnK3Q.png" /></figure><p><strong>React.js</strong> is a popular JavaScript library for building modern, dynamic, and high-performance user interfaces (UI). It was developed by <strong>Facebook (now Meta)</strong> in 2013 and has since become the <strong>most widely used frontend library</strong> in the world.</p><blockquote>🔥 <strong>Top Tech Jobs Are Hiring NOW — Don’t Miss Out.<br> </strong><a href="https://www.codetodeploy.tech/2026/02/how-to-apply-and-secure-jobs.html"><strong>👉 Apply &amp; Secure Your Job</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkQFf0NUnzoFbVEVQCF5WQ.png" /></figure><p>One of React’s core strengths is its <strong>component-based architecture</strong>, which allows developers to break down the UI into reusable, manageable components. This leads to cleaner, more scalable code.</p><h3>✨ Why Learn React.js?</h3><p>React offers several advantages that make it a top choice for frontend development:</p><p>✅ <strong>Fast, Dynamic, and Interactive UI</strong>: React utilizes a virtual DOM to efficiently update only the parts of the UI that have changed.<br> ✅ <strong>Build Single Page Applications (SPAs)</strong>: Create seamless, fast-loading web apps that feel like native applications.<br> ✅ <strong>Cross-Platform App Development with React Native</strong>: Use the same skills to build both <strong>web and mobile apps</strong>.<br> ✅ <strong>High Demand in Job &amp; Freelance Markets</strong>: React developers are in huge demand across freelancing platforms and tech companies.<br> ✅ <strong>Perfect Fit with Backend APIs</strong>: Easily connect React to REST APIs built with <strong>Node.js</strong>, <strong>Django</strong>, <strong>Flask</strong>, or <strong>FastAPI</strong>.</p><h3>🔥 Why React.js is Essential to Learn in 2025</h3><h3>1. Most In-Demand Frontend Skill</h3><p>React continues to top the charts in JavaScript framework rankings. Tech giants like <strong>Google</strong>, <strong>Facebook</strong>, <strong>Netflix</strong>, <strong>Airbnb</strong>, and <strong>Instagram</strong> all rely on React in production.</p><h3>2. High Salary Opportunities</h3><p>React developers command high salaries — even <strong>6-figure USD</strong> salaries are common in the <strong>USA</strong>, <strong>Europe</strong>, or remote-first companies.</p><h3>3. One Codebase for Web &amp; Mobile</h3><p>With <strong>React Native</strong>, you can use the same JavaScript and React knowledge to build native mobile apps for both <strong>Android</strong> and <strong>iOS</strong>.</p><h3>4. Perfect Match with Backend Technologies</h3><p>React works flawlessly with any backend — whether it’s <strong>Node.js</strong>, <strong>Django REST Framework</strong>, or <strong>FastAPI</strong> — making it ideal for full-stack development.</p><h3>5. Dominates Freelancing Platforms</h3><p>On <strong>Fiverr</strong>, <strong>Upwork</strong>, and <strong>Freelancer</strong>, React is one of the most requested skills for web application projects.</p><h3>👨‍💻 Career Opportunities as a React.js Developer</h3><p>Whether you want to freelance or land a full-time role, here are some paths React.js can lead you to:</p><ul><li><strong>Frontend Developer</strong> — Work in product-based or SaaS companies</li><li><strong>Full-Stack Developer</strong> — MERN (MongoDB, Express, React, Node), PERN, or DJR (Django + React)</li><li><strong>Mobile App Developer</strong> — With React Native</li><li><strong>UI/UX-Oriented Web Developer</strong></li><li><strong>Freelance Web Application Specialist</strong></li><li><strong>JAMstack Developer</strong> — Combine React with Headless CMS (e.g., Contentful, Strapi)</li></ul><h3>📘 Where to Start? Recommended Learning Resources</h3><h3>📚 Books:</h3><ul><li><em>The Road to React</em> — Robin Wieruch</li><li><em>Learning React</em> — Alex Banks &amp; Eve Porcello</li><li><em>Fullstack React</em> — Anthony Accomazzo</li></ul><h3>🎓 Online Courses:</h3><ul><li><strong>freeCodeCamp</strong> — <em>React Full Course</em></li><li><strong>Udemy</strong> — <em>React — The Complete Guide</em> by Maximilian Schwarzmüller</li><li><strong>Scrimba</strong> — <em>Learn React for Free</em></li></ul><h3>🎥 YouTube Channels:</h3><ul><li><strong>Learn with Sumit</strong> — One of the best React playlists in Bangla</li><li><strong>Codevolution</strong>, <strong>The Net Ninja</strong>, <strong>Traversy Media</strong> — Great React tutorials in English</li></ul><h3>📌 Sources:</h3><ul><li>ReactJS Official Documentation</li><li>GitHub Stars &amp; Trends</li><li>Stack Overflow &amp; Developer Surveys</li><li>ChatGPT research synthesis</li></ul><p>React.js isn’t just a trend — it’s a <strong>career-changing skill</strong>. Whether you’re building complex applications, starting freelancing, or diving into full-stack development, <strong>React is the key to unlocking those doors</strong> in 2025.</p><p>✍️ Written by: JAKER HOSSAIN<br>Frontend Developer at <a href="https://www.expertsquad.net/"><strong>expertsquad.net</strong></a><strong><br></strong>Contact: <a href="https://www.poranfolio.space/">https://www.poranfolio.space/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69c234e25544" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codetodeploy/what-is-react-js-and-why-you-should-learn-it-in-2025-69c234e25544">What is React.js and Why You Should Learn It in 2025</a> was originally published in <a href="https://medium.com/codetodeploy">CodeToDeploy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Front-end Developer vs Front-end Engineer: What’s the Real Difference?]]></title>
            <link>https://medium.com/codetodeploy/front-end-developer-vs-front-end-engineer-whats-the-real-difference-4157887a3d66?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4157887a3d66</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[comparison]]></category>
            <category><![CDATA[frontend-engineering]]></category>
            <category><![CDATA[frontend-developer]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Wed, 28 May 2025 04:08:44 GMT</pubDate>
            <atom:updated>2026-03-04T11:36:57.171Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s fast-evolving tech world, job titles often blur together, and one of the most common areas of confusion is the difference between a Frontend Developer and a Frontend Engineer. While both work on the <strong>“front”</strong> of applications that users interact with, the roles aren’t always identical. Understanding the distinction can help you better define your career path, hire the right talent, or navigate tech discussions with more confidence.</p><blockquote>🔥 <strong>Top Tech Jobs Are Hiring NOW — Don’t Miss Out.<br> </strong><a href="https://www.codetodeploy.tech/2026/02/how-to-apply-and-secure-jobs.html"><strong>👉 Apply &amp; Secure Your Job</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkQFf0NUnzoFbVEVQCF5WQ.png" /></figure><p>In this article, we’ll break down the <strong>true differences</strong> between a frontend developer and a frontend engineer — from skills to responsibilities, and even mindsets.</p><ol><li><strong>What is a Frontend Developer?</strong></li></ol><p>A <strong>Frontend Developer</strong> is primarily responsible for bringing <strong>visual designs</strong> to life and ensuring a great user experience. They translate <strong>UI/UX</strong> designs into fully functional web pages or applications.</p><p><strong>Core Responsibilities:</strong></p><ul><li>Implementing responsive and accessible web interfaces.</li><li>Building pages using HTML, CSS, and JavaScript.</li><li>Working with frontend frameworks like React, Vue, or Angular.</li><li>Ensuring cross-browser compatibility.</li><li>Integrating with backend APIs to display dynamic content.</li><li>Collaborating with designers to match the intended user experience.</li></ul><p><strong>Focus Areas:</strong></p><ul><li>Visual design to code translation.</li><li>User interactivity and basic animations.</li><li>Mobile-first and responsive development.</li><li>Performance tuning at a basic level, such as image optimization.</li></ul><p><strong>In short:</strong> A frontend developer ensures that users have a beautiful, functional, and responsive experience.</p><ol><li><strong>What is a Frontend Engineer?</strong></li></ol><p>A <strong>Frontend Engineer</strong> carries out all the duties of a frontend developer, but with a deeper technical focus. Their work doesn’t stop at implementing designs — they also <strong>architect systems, optimize performance, and solve complex engineering challenges</strong>.</p><p><strong>Core Responsibilities:</strong></p><ul><li>Designing scalable frontend architectures.</li><li>Managing complex application states (e.g., using Redux, Zustand, or custom state managers).</li><li>Performance optimization beyond surface-level tweaks (e.g., lazy loading, code splitting, bundle analysis).</li><li>Implementing advanced testing strategies (unit tests, integration tests, end-to-end tests).</li><li>Working with build tools (Webpack, Vite, Rollup) and CI/CD pipelines.</li><li>Deep debugging (network issues, memory leaks, performance bottlenecks).</li><li>Security awareness (XSS, CSRF prevention, secure authentication flows).</li></ul><p><strong>Focus Areas:</strong></p><ul><li>Application performance and scalability.</li><li>Code maintainability and best practices.</li><li>Setting up frontend infrastructure and tooling.</li><li>Engineering for future-proofing (e.g., reusable design systems).</li></ul><p><strong>In short:</strong> A frontend engineer thinks beyond the page — <strong>they design systems that are scalable, efficient, and maintainable.</strong></p><h3><strong><em>Frontend Developer vs Frontend Engineer: A Head-to-Head Comparison</em></strong></h3><figure><img alt="FD vs FE" src="https://cdn-images-1.medium.com/max/1024/1*FCdlPx1RbAH44mBEfbOWyQ.png" /></figure><p><strong>Why Does This Distinction Matter?</strong></p><ul><li><strong>For Developers:</strong> Knowing the difference helps you plan your growth. If you want to deepen your technical expertise and have a bigger impact on system architecture, aiming to become a frontend engineer might be your next step.</li><li><strong>For Hiring Managers:</strong> Setting the right expectations when hiring ensures you get the right skillset for the job at hand.</li><li><strong>For the Industry:</strong> Clearer role definitions lead to more efficient teams and better communication between departments.</li></ul><p><strong>Final Thoughts:</strong> At many companies — especially startups — the titles “Frontend Developer” and “Frontend Engineer” are used interchangeably. The key lies in the depth of technical expertise and architectural ownership required for the role.</p><p>If you’re starting, <strong>focus on mastering the fundamentals</strong> as a frontend developer. As you grow, dig deeper into <strong>engineering best practices</strong> and <strong>system design</strong> to transition into a frontend engineer role.</p><p>Remember: It’s not just about what you build — <strong>it’s about how well you build it</strong>.</p><p>✍️ Written by: JAKER HOSSAIN<br>Frontend Developer at <a href="https://www.expertsquad.net/"><strong>expertsquad.net</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4157887a3d66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codetodeploy/front-end-developer-vs-front-end-engineer-whats-the-real-difference-4157887a3d66">Front-end Developer vs Front-end Engineer: What’s the Real Difference?</a> was originally published in <a href="https://medium.com/codetodeploy">CodeToDeploy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Frontend Developer Resume: Tips, Structure & What Gets Interviews]]></title>
            <link>https://medium.com/@jackfd120/frontend-developer-resume-tips-structure-what-gets-interviews-aa75e25f4089?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa75e25f4089</guid>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[resume]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Mon, 05 May 2025 07:07:27 GMT</pubDate>
            <atom:updated>2025-05-05T07:07:27.849Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BY0GK-jH99UJMvbkHDk-sw.jpeg" /></figure><p>A practical, no-fluff guide to crafting a frontend developer resume that stands out — with examples, formatting advice, and real-world insights for junior to mid-level developers.</p><p>🧠 <strong>Why This Post?</strong><br>Most frontend developers spend hours perfecting their portfolios and GitHub repos, but struggle to present their skills effectively on a resume. This post breaks down <strong>exactly what to include</strong>, how to <strong>structure your resume</strong>, and <strong>what mistakes to avoid</strong>.</p><p>📦 <strong>What This Guide Covers</strong></p><ul><li>The must-have <strong>sections</strong> of a frontend resume</li><li>How to structure your content</li><li><strong>Project description</strong> examples that get noticed</li><li><strong>Formatting &amp; keyword</strong> tips</li><li>Final export &amp; sharing strategies</li></ul><p>🧱 <strong>Resume Structure: Section-by-Section Breakdown</strong><br><strong>🔹 1. Header</strong><br>Should contain:</p><p>-Full Name<br>-Job Title (e.g., Frontend Developer)<br>-Location (City, Country — optional)<br>-GitHub, Portfolio, LinkedIn<br>-Email</p><p>✅ Example:<br>Jane Doe<br>Frontend Developer<br>📍 Berlin, Germany<br>🌐 janedoe.dev | 🐙 github.com/janedoe | 🔗 linkedin.com/in/janedoe<br>📧 jane.doe@gmail.com</p><p>🔹 <strong>2. Professional Summary</strong><br>A concise snapshot of who you are, what you do, and what you bring to the table.</p><p>✅ <strong>Example:</strong><br>Frontend Developer with 2+ years of experience building responsive, performant web applications using React, Next.js, and modern CSS frameworks. Passionate about clean code, UI/UX, and shipping accessible user interfaces.</p><p>🔹 <strong>3. Skills</strong><br>Categorize your tools, frameworks, and languages.</p><p>✅ <strong>Example:</strong><br>🧠 Languages: HTML5, CSS3, JavaScript (ES6+), TypeScript<br>⚙️ Frameworks: React.js, Next.js, Redux, Tailwind CSS, Bootstrap<br>🔧 Tools: Git, GitHub, VS Code, Figma, Chrome DevTools<br>🌐 Others: REST APIs, Responsive Design, Web Performance, SEO Basics</p><p>🔹 <strong>4. Projects (Core Section)</strong><br>Select 3–5 key projects. Show the project, what you used, and what impact you had.</p><p>✅ <strong>Example:</strong></p><pre>🛒 E-Shop — E-Commerce Web App  <br>🔗 [Live Demo](https://eshop.com) | [GitHub](https://github.com/eshop/eshop)<br><br>- Developed a responsive e-commerce frontend with React and Tailwind CSS.<br>- Implemented dynamic filters for price, brand, and rating.<br>- Optimized loading time using lazy loading and image compression.</pre><p>🔹 <strong>5. Experience</strong><br>Include job roles or internships. Use bullet points to describe contributions.</p><p>✅ <strong>Example:</strong></p><pre>Frontend Developer  <br>TechNova Agency | Remote | Jan 2023 – Present<br>- Collaborated with backend engineers to deliver fully functional admin dashboards.<br>- Reduced initial page load by 50% using code splitting and performance optimization.<br>- Built and maintained a design system using Storybook.</pre><p>🔹 <strong>6. Education &amp; Certifications</strong><br>List your formal education and relevant certifications.</p><pre>🎓 B.Sc. in Computer Science  <br>XYZ University, 2021  <br><br>📜 Certifications:  <br>- The Complete JavaScript Course (Udemy)  <br>- Responsive Web Design – freeCodeCamp</pre><p>🔹 <strong>7. Optional Sections</strong><br>Include these if applicable:</p><ul><li>🛠 Open Source Contributions</li><li>📝 Technical Blogs</li><li>🏆 Awards / Hackathons</li><li>🌍 Languages</li></ul><p>🎨 <strong>Resume Formatting Best Practices</strong></p><ul><li>Stick to one page</li><li>Use consistent formatting</li><li>Highlight tools &amp; outcomes over responsibilities</li><li>Avoid long paragraphs — stick to bullets</li><li>Use action verbs: built, developed, implemented, optimized</li><li>Export as a PDF</li></ul><p>⚠️ <strong>Mistakes to Avoid</strong><br>❌ Listing every tech you’ve ever heard of<br>❌ Projects with no context or links<br>❌ Overused phrases like “hardworking team player”<br>❌ Spelling and grammar mistakes<br>❌ Generic, unfocused summaries</p><p>✍️ <strong>Final Thoughts</strong><br>Your resume is your <strong>first impression</strong> in the hiring process. It should clearly show what you’ve built, what tools you know, and what problems you’ve solved.</p><p>Focus on outcomes, be concise, and keep improving it as you grow. A great resume doesn’t need to be flashy — just clear, honest, and focused on what matters.</p><p>💬 <strong>Got Questions?</strong><br>Have your own tips? Need feedback on your resume or portfolio? Feel free to drop a comment below or connect via GitHub or LinkedIn. Let’s grow together! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa75e25f4089" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Essential JavaScript Interview Questions for Beginners (With Solutions & Explanations)]]></title>
            <link>https://medium.com/@jackfd120/7-essential-javascript-interview-questions-for-beginners-with-solutions-explanations-6d9a6d6d2c59?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d9a6d6d2c59</guid>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Wed, 23 Apr 2025 05:21:56 GMT</pubDate>
            <atom:updated>2025-04-23T05:27:22.821Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xsh78RcnS1GGnFzfzS54A.jpeg" /></figure><p>JavaScript is one of the most in-demand programming languages today. Mastering the basics is essential, whether you’re preparing for your first job interview or brushing up on your fundamentals.</p><p>In this article, I’ve compiled 10 beginner-level JavaScript interview questions with solutions and explanations to help you build confidence and deepen your understanding.</p><p>Let’s dive in! 👇</p><p><strong>Question 1</strong>: What are the different ways to declare variables in JavaScript?<br>☑️Solution:</p><pre>var name = &quot;Alice&quot;;  // function-scoped<br>let age = 25;        // block-scoped<br>const country = &quot;USA&quot;; // block-scoped, constant</pre><p><strong><em>💡 Explanation:</em></strong></p><ul><li><strong>var</strong> is function-scoped and allows redeclaration.</li><li><strong>let</strong> is block-scoped and allows reassignment but not redeclaration.</li><li><strong>const</strong> is block-scoped and does not allow reassignment or redeclaration.</li></ul><p><strong>Question 2</strong>: What is the difference between == and ===?<br>☑️<strong>Solution</strong>:</p><pre>&#39;5&#39; == 5    // true (loose equality)<br>&#39;5&#39; === 5   // false (strict equality)</pre><p><strong>💡 Explanation:</strong></p><ul><li><strong>==</strong> checks for value only and performs type coercion.</li><li><strong>===</strong> checks for both value and type, making it more reliable.</li></ul><p><strong>Question 3</strong>: What are the primitive data types in JavaScript?<br>☑️<strong>Solution:</strong></p><pre>let str = &quot;Hello&quot;;      // String<br>let num = 42;           // Number<br>let isOnline = true;    // Boolean<br>let nothing = null;     // Null<br>let notDefined;         // Undefined<br>let id = Symbol(&#39;id&#39;);  // Symbol<br>let bigInt = 9007199254740991n; // BigInt</pre><p><strong>💡 Explanation:</strong><br>JavaScript has 7 primitive types: <strong>String</strong>, <strong>Number</strong>, <strong>Boolean</strong>, <strong>null</strong>, <strong>undefined</strong>, <strong>Symbol</strong>, and <strong>BigInt</strong>. These are immutable and stored by value.</p><p><strong>Question 4:</strong> How do you check the type of a variable?<br><strong>☑️Solution:</strong></p><pre>typeof &quot;hello&quot;;  // &quot;string&quot;<br>typeof 42;       // &quot;number&quot;<br>typeof null;     // &quot;object&quot; (quirky behavior!)</pre><p><strong>Question 5:</strong> What is the DOM?<br><strong>☑️Solution:</strong></p><pre>document.getElementById(&quot;app&quot;).innerText = &quot;Hello World!&quot;;</pre><p><strong>The DOM (Document Object Model)</strong> is a way JavaScript can interact with HTML and CSS.</p><p><strong>Question 6:</strong> What’s the difference between <strong>var</strong>, <strong>let</strong>, and <strong>const</strong>?<br><strong>☑️Solution:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*PWP5QNDO286GEp0QMGD1OA.png" /></figure><p><strong>Question 7:</strong> How does JavaScript compare different types?<br><strong>☑️Solution:</strong></p><pre>&#39;5&#39; == 5          // true<br>&#39;5&#39; === 5         // false<br>null == undefined // true<br>null === undefined // false</pre><h3>🎯 Final Thoughts</h3><p>These beginner questions are not just for interviews — they form the foundation of modern JavaScript development.</p><p>Next up:<br> 🔜 <strong>Intermediate JavaScript Interview Questions</strong><br> 🔜 <strong>Advanced JavaScript Interview Mastery</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d9a6d6d2c59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create a Reusable Modal in React: Responsive, TypeScript-Based & Tailwind Styled]]></title>
            <link>https://medium.com/@jackfd120/create-a-reusable-modal-in-react-responsive-typescript-based-tailwind-styled-5f5d3562b635?source=rss-63dbd58cdf1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f5d3562b635</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[tailwind]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[JAKER HOSSAIN]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 05:11:05 GMT</pubDate>
            <atom:updated>2025-04-15T05:11:05.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Would you be interested in setting up your modals in a React + Next.js project?</p><p>In this post, I’ll walk you through a fully-featured and reusable Modal component that:</p><p><em>1- Supports multiple entry/exit animation alignments,<br>2- Handles back navigation when closed,<br>3- Works across small and large devices selectively,<br>4- Uses React Portals to render outside the component tree, and<br>5- Is styled using Tailwind CSS for rapid development.</em></p><p>No more rewriting modals from scratch every time! Let’s build one you can plug into any project. 👇</p><p>✅ Why Use This Modal Component?<br>This component is modular, responsive, animated, and portable — making it ideal for use in real-world web apps and dashboards.</p><p>Use cases:<br>1- Displaying forms, filters, or dynamic content without page reloads.<br>2- Creating full-screen mobile modals.<br>3- Conditionally showing modals on different screen sizes.<br>4- Enhancing UX with entry/exit animations.</p><pre>import React, { useState, useEffect, Dispatch, SetStateAction } from &quot;react&quot;;<br>import { createPortal } from &quot;react-dom&quot;;<br>import { useRouter } from &quot;next/navigation&quot;;<br><br>const Modal = ({<br>  show,<br>  setShow,<br>  children,<br>  alignment,<br>  className,<br>  isIntercepting = false,<br>  showCancelBtnINSmallDevice = false,<br>  isOnlySmallDevice = false,<br>  isOnlyLargeDevice = false,<br>}: {<br>  show: boolean;<br>  setShow: Dispatch&lt;SetStateAction&lt;boolean&gt;&gt;;<br>  children: React.ReactNode;<br>  alignment: &quot;left&quot; | &quot;center&quot; | &quot;right&quot; | &quot;top&quot; | &quot;bottom&quot;;<br>  className?: string;<br>  isIntercepting?: boolean;<br>  showCancelBtnINSmallDevice?: boolean;<br>  isOnlySmallDevice?: boolean;<br>  isOnlyLargeDevice?: boolean;<br>}) =&gt; {<br>  const [animate, setAnimate] = useState(false);<br>  const redirect = useRouter();<br><br>  let appearAnimation;<br>  let disappearAnimation;<br><br>  if (alignment === &quot;left&quot;) {<br>    appearAnimation = &quot;translate-x-0&quot;;<br>    disappearAnimation = &quot;-translate-x-1/2&quot;;<br>  } else if (alignment === &quot;center&quot;) {<br>    appearAnimation = &quot;scale-1&quot;;<br>    disappearAnimation = &quot;scale-0&quot;;<br>  } else if (alignment === &quot;right&quot;) {<br>    appearAnimation = &quot;translate-x-0&quot;;<br>    disappearAnimation = &quot;translate-x-1/2&quot;;<br>  } else if (alignment === &quot;top&quot;) {<br>    appearAnimation = &quot;translate-y-[-227px]&quot;;<br>    disappearAnimation = &quot;-translate-y-[100%]&quot;;<br>  } else if (alignment === &quot;bottom&quot;) {<br>    appearAnimation = &quot;translate-y-[227px]&quot;;<br>    disappearAnimation = &quot;translate-y-[100%]&quot;;<br>  }<br><br>  useEffect(() =&gt; {<br>    if (show) {<br>      setAnimate(true);<br>    } else {<br>      setAnimate(false);<br>    }<br>  }, [show]);<br><br>  const handleClose = (e: React.MouseEvent) =&gt; {<br>    e.stopPropagation();<br>    setAnimate(false);<br>    if (isIntercepting) {<br>      redirect.back();<br>    }<br>    setTimeout(() =&gt; setShow(false), 300);<br>  };<br><br>  return createPortal(<br>    &lt;div<br>      className={`fixed inset-0 z-50 backdrop-blur-sm bg-black-transparent transition-opacity duration-300 ease-in-out flex items-center <br>      ${animate ? &quot;opacity-100&quot; : &quot;opacity-0&quot;}<br>      ${alignment === &quot;right&quot; &amp;&amp; &quot;justify-end&quot;} <br>      ${alignment === &quot;center&quot; &amp;&amp; &quot;justify-center&quot;} <br>      ${isOnlySmallDevice &amp;&amp; &quot;md:hidden&quot;} <br>      ${isOnlyLargeDevice &amp;&amp; &quot;hidden md:flex&quot;}`}<br>      onClick={handleClose}<br>    &gt;<br>      &lt;div<br>        className={` relative shadow-black-50 drop-shadow-2xl bg-white lg:p-5 duration-300 ease-in-out<br>         ${alignment !== &quot;center&quot; &amp;&amp; &quot;h-full md:h-[calc(100%-16px)] md:m-2&quot;}<br>           ${animate ? appearAnimation : disappearAnimation} ${className}`}<br>        onClick={(e) =&gt; e.stopPropagation()}<br>      &gt;<br>        {/* close handler */}<br>        &lt;button<br>          className={`hover:rotate-90 transition-all duration-200 absolute top-5 right-5 lg:top-6 lg:right-6 text-black hover:text-[#ff4b4b] font-bold z-50 ${<br>            showCancelBtnINSmallDevice ? &quot;block&quot; : &quot;hidden&quot;<br>          }`}<br>          onClick={handleClose}<br>        &gt;<br>          &amp;#10005;<br>        &lt;/button&gt;<br>        {/* children */}<br>        {children}<br>      &lt;/div&gt;<br>    &lt;/div&gt;,<br>    document.body<br>  );<br>};<br><br>export default Modal;</pre><p>🎯 <strong>Key Features</strong>:<br>✅ Fully reusable with props for control<br>✅ Device-based rendering (show only on mobile or desktop)<br>✅ Multiple alignment-based animations (left, center, right, top, bottom)<br>✅ Portal rendering with createPortal for proper stacking<br>✅ Interceptable close behavior (router.back() support)<br>✅ Tailwind CSS-based transitions &amp; styling<br>✅ Clean separation of logic and UI control</p><p>💡 How It Works (in short):<br>1- show: Boolean toggle for modal visibility.<br>2- alignment: Determines the animation direction (like slide in from left, right, or scale in center).<br>3- isIntercepting: Useful for routing scenarios — goes back in history on close.<br>4- isOnlySmallDevice, isOnlyLargeDevice: Control modal visibility by device size.<br>5- createPortal: Ensures the modal is placed outside the component tree (document.body).</p><p>✅ <strong>Pros</strong>:<br>🎨 Highly customizable<br>📱 Responsive: Tailored for mobile and desktop experiences<br>🚀 Lightweight and performant<br>🧩 Easy to integrate in any layout<br>🔁 Reusable across routes and pages<br>🧠 Intuitive API for developers</p><p>🧪 <strong>Example Usage</strong>:</p><pre>const [showModal, setShowModal] = useState(false);<br><br>&lt;Modal<br>  show={showModal}<br>  setShow={setShowModal}<br>  alignment=&quot;right&quot;<br>  isIntercepting={true}<br>  showCancelBtnINSmallDevice={true}<br>&gt;<br>  &lt;div&gt;Your modal content here...&lt;/div&gt;<br>&lt;/Modal&gt;<br></pre><h3>🚀 Conclusion</h3><p>This <strong>reusable modal in React</strong> demonstrates the power of combining Tailwind CSS, TypeScript, and responsiveness. Whether you’re looking for a <strong>React modal example</strong>, building a <strong>responsive modal in React</strong>, or creating clean, production-ready <strong>React modal components</strong>, this approach gives you complete control and reusability. For more advanced use cases, you can extend it with context, animations or integrate it with global state. Keep this <strong>React modal documentation</strong> handy — your UI just got a whole lot smoother.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f5d3562b635" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>