惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
I
InfoQ
B
Blog RSS Feed
D
DataBreaches.Net
S
SegmentFault 最新的问题
P
Proofpoint News Feed
A
About on SuperTechFans
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
小众软件
小众软件
博客园 - Franky
有赞技术团队
有赞技术团队
D
Docker
T
Tailwind CSS Blog
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
V
Visual Studio Blog
宝玉的分享
宝玉的分享
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built a real-time Air Quality Index monitor from scratc...
Ayush Kunkulol · 2026-06-15 · via DEV Community

Ayush Kunkulol

Hey everyone!

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!

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

🔗 Live Link : https://atmopulse.web.app
🔗 GitHub : https://github.com/itsAyush5/Project-9-AtmoPulse

What is AtmoPulse ?

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.

✨ Features :

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

🛠️ Tech Stack

Technology Purpose
React 18 Frontend framework
Vite Build tool
Leaflet.js Interactive map
Firebase Hosting
WAQI + OpenAQ APIs Live AQI data
Google OAuth Authentication

😤 Challenges I Faced :

This is the part nobody talks about but honestly the most valuable part of building a project.

  1. Combining two different APIs
    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.

  2. Leaflet.js + React
    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.

  3. Firebase Authentication
    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.

  4. TypeScript learning curve
    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.

💡 What I Learned :

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

What's Next ?

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!

Feedback Welcome!

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! 🙏

🔗 Live Link : https://atmopulse.web.app
🔗 GitHub : https://github.com/itsAyush5/Project-9-AtmoPulse