Level 1 Team Project
Air Quality Monitoring Simulator

Step 1: Project Setup
Step 2: Setup App.jsx (you already have this, we will improve a bit)
Step 3: Improve Styling (style.css)
Step 4. Install Leaflet packages and Include Leaflet CSS
Step 5: Update App.jsx
Step 6: Improve style.css for Map
Challenge: Next Enhancements (Highly Recommended!)
Step 6. Install dependencies and Add Leaflet CSS
Step 7: Update App.jsx with Real-Time AQI Simulation & API Integration
Solution: Create Your Own Local Backend Proxy (Best Practice)
Step 1: Create a simple Express server
Step 2: Update your React App.jsx
Step 3: Run your backend and frontend
Solution 2: Local Mock Data (For Safe Classroom Project)
Step 1: Update your serverMock.js like this:
serverMock.js like this:Switch map mode between Dark Mode and Light Mode
Step 1: Add State for Map Mode
Step 2: Add Toggle Button
Step 3: Update TileLayer to Use Dynamic Map Style

Last updated