<?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: Ayush Kunkulol</title>
    <description>The latest articles on DEV Community by Ayush Kunkulol (@ayush_kunkulol_5).</description>
    <link>https://dev.to/ayush_kunkulol_5</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%2F3936693%2F18fdbe23-7dc4-4474-b53b-6c4d00c862b6.jpeg</url>
      <title>DEV Community: Ayush Kunkulol</title>
      <link>https://dev.to/ayush_kunkulol_5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ayush_kunkulol_5"/>
    <language>en</language>
    <item>
      <title>I built a real-time Air Quality Index monitor from scratch — AtmoPulse 🌍</title>
      <dc:creator>Ayush Kunkulol</dc:creator>
      <pubDate>Sun, 14 Jun 2026 22:03:09 +0000</pubDate>
      <link>https://dev.to/ayush_kunkulol_5/i-built-a-real-time-air-quality-index-monitor-from-scratch-atmopulse-3l3p</link>
      <guid>https://dev.to/ayush_kunkulol_5/i-built-a-real-time-air-quality-index-monitor-from-scratch-atmopulse-3l3p</guid>
      <description>&lt;p&gt;Hey everyone!&lt;/p&gt;

&lt;p&gt;I'm a fullstack development learner and I just finished building one of my most ambitious projects entirely from scratch — no templates, no copied code. I'm really proud of how it turned out and would love to share it with the dev community!&lt;/p&gt;

&lt;p&gt;It's called AtmoPulse — a real-time Air Quality Index (AQI) monitor for cities worldwide, built with a modern dark UI and interactive map.&lt;/p&gt;

&lt;p&gt;🔗 Live Link : &lt;a href="https://atmopulse.web.app" rel="noopener noreferrer"&gt;https://atmopulse.web.app&lt;/a&gt;&lt;br&gt;
🔗 GitHub : &lt;a href="https://github.com/itsAyush5/Project-9-AtmoPulse" rel="noopener noreferrer"&gt;https://github.com/itsAyush5/Project-9-AtmoPulse&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What is AtmoPulse ?&lt;/p&gt;

&lt;p&gt;Air quality is something most of us ignore until it becomes a problem. I wanted to build something actually useful — an app where anyone can search any city and instantly see how clean or polluted the air is, along with a detailed breakdown of what's in it.&lt;/p&gt;

&lt;p&gt;✨ Features :&lt;/p&gt;

&lt;p&gt;🗺️ Interactive dark map with glow-effect AQI markers (Leaflet.js)&lt;br&gt;
🔍 City search with live autocomplete suggestions&lt;br&gt;
📊 Detailed pollutant panel — PM2.5, PM10, O₃, NO₂, CO, SO₂ and more&lt;br&gt;
🌤️ Live weather data — Temperature, Humidity, Wind, Pressure&lt;br&gt;
📈 Session AQI trend chart with sparkline visualization&lt;br&gt;
🔔 Custom AQI alerts with push notification support&lt;br&gt;
🕘 Search history with quick re-search&lt;br&gt;
👤 Google Sign-In + Email/Password authentication (Firebase)&lt;br&gt;
🏭 Multi-source data — WAQI + OpenAQ APIs combined&lt;br&gt;
📱 Fully responsive — works on mobile and desktop&lt;br&gt;
⚡ Real-time refresh with cooldown timer&lt;/p&gt;

&lt;p&gt;🛠️ Tech Stack&lt;/p&gt;

&lt;p&gt;Technology                                     Purpose &lt;br&gt;
React 18                                       Frontend framework&lt;br&gt;
Vite                                           Build tool&lt;br&gt;
Leaflet.js                                     Interactive map&lt;br&gt;
Firebase                                       Hosting&lt;br&gt;
WAQI + OpenAQ APIs                             Live AQI data&lt;br&gt;
Google OAuth                                   Authentication&lt;/p&gt;

&lt;p&gt;😤 Challenges I Faced :&lt;/p&gt;

&lt;p&gt;This is the part nobody talks about but honestly the most valuable part of building a project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Combining two different APIs&lt;br&gt;
WAQI and OpenAQ both return AQI data but in completely different formats. Getting them to work together and display consistently on the same map took a lot of trial and error. I had to write a normalization layer to map both responses into a single data structure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Leaflet.js + React&lt;br&gt;
Leaflet was originally built for vanilla JS, so integrating it cleanly into a React component lifecycle was tricky. Managing map instance references with useRef and avoiding duplicate map initialization took me a while to figure out.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Firebase Authentication&lt;br&gt;
Setting up both Google Sign-In and Email/Password auth together, and then protecting certain features (like API key management) behind auth state was more complex than I expected. Learning how Firebase's onAuthStateChanged works and persisting auth state across refreshes was a big lesson.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TypeScript learning curve&lt;br&gt;
Coming from JavaScript, TypeScript felt frustrating at first — especially typing API responses where the shape wasn't always predictable. But it saved me from so many bugs that I would have spent hours debugging otherwise.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;💡 What I Learned :&lt;/p&gt;

&lt;p&gt;How to work with multiple external APIs and normalize their data&lt;br&gt;
Managing complex state in React with TypeScript&lt;br&gt;
Firebase authentication flows and security rules&lt;br&gt;
Integrating map libraries into React properly&lt;br&gt;
Building a fully responsive dark UI from scratch&lt;/p&gt;

&lt;p&gt;What's Next ?&lt;/p&gt;

&lt;p&gt;I'm planning to add historical AQI data charts and possibly city comparison features. Would love to hear what features you'd find most useful!&lt;/p&gt;

&lt;p&gt;Feedback Welcome!&lt;/p&gt;

&lt;p&gt;This is one of my biggest projects so far and I'd genuinely appreciate any feedback — whether it's about the code structure, TypeScript usage, UI/UX, or anything else. Don't hold back! 🙏&lt;/p&gt;

&lt;p&gt;🔗 Live Link : &lt;a href="https://atmopulse.web.app" rel="noopener noreferrer"&gt;https://atmopulse.web.app&lt;/a&gt;&lt;br&gt;
🔗 GitHub : &lt;a href="https://github.com/itsAyush5/Project-9-AtmoPulse" rel="noopener noreferrer"&gt;https://github.com/itsAyush5/Project-9-AtmoPulse&lt;/a&gt;&lt;/p&gt;

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