<?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: GitMan</title>
    <description>The latest articles on DEV Community by GitMan (@iamgitman).</description>
    <link>https://dev.to/iamgitman</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%2F3961231%2F63d1d5ef-e2ca-4057-87b1-5ab8183cd426.png</url>
      <title>DEV Community: GitMan</title>
      <link>https://dev.to/iamgitman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iamgitman"/>
    <language>en</language>
    <item>
      <title>How I Fixed a CORS Error Without Knowing Backend - and What I Learned From It</title>
      <dc:creator>GitMan</dc:creator>
      <pubDate>Sun, 31 May 2026 13:47:19 +0000</pubDate>
      <link>https://dev.to/iamgitman/how-i-fixed-a-cors-error-without-knowing-backend-and-what-i-learned-from-it-j33</link>
      <guid>https://dev.to/iamgitman/how-i-fixed-a-cors-error-without-knowing-backend-and-what-i-learned-from-it-j33</guid>
      <description>&lt;p&gt;I recently built a website called IsItDown - &lt;a href="https://is-it-down-gitman.vercel.app/" rel="noopener noreferrer"&gt;https://is-it-down-gitman.vercel.app/&lt;/a&gt; - that checks whether popular sites and services around the world are up or down in real time, refreshing live data every 30 seconds.&lt;br&gt;
Everything was going smoothly until I hit a wall - a CORS error.&lt;br&gt;
Since I have very little backend knowledge, my initial approach was fetching data directly through the browser. That's when things broke. Every solution I found pointed to the same answer - move the fetching to the backend. But that wasn't really an option for me at the time since backend coding is still new territory for me.&lt;br&gt;
So I had to find a middle way.&lt;br&gt;
After some research, I discovered Vercel Serverless Functions. Instead of fetching from the browser, I let Vercel's server handle the API calls and pass the response back to my site. The result? I was fetching from 30+ sources in just 1–2 seconds, with zero CORS issues.&lt;br&gt;
It wasn't a perfect textbook solution - but it worked, and more importantly, I understood why it worked.&lt;br&gt;
That's the thing about building real projects. You don't just write code - you hit real problems, think your way through them, and walk away with knowledge that no tutorial could've given you.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
