Skip to content

BreatheEasy is an app that delivers real-time AQI data, pollutant insights, health tips, and improvement measures in a clean, mobile-friendly interface.

License

Notifications You must be signed in to change notification settings

prasoonk1204/BreatheEasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BreatheEasy 🌱

BreatheEasy is an open-source project that helps you monitor air quality in your area, understand pollutant levels, and take informed actions for better health. It lets you search and explore real-time air quality data from any city around the world. Featuring a live AQI dashboard, interactive maps, and detailed pollutant breakdowns, it offers tailored health guidance and community-level improvement suggestions. With dark/light mode support and a mobile-friendly UI, BreatheEasy makes understanding air quality simple, informative, and accessible.


Appreciate the project by giving this repository a Star ⭐

Open Source Love MIT License GSSoC

πŸ“‹ Contributing

Before contributing, please follow these guidelines:

  • Fork this repository and clone it to your machine.
  • Create a new branch for your feature/fix.
  • Describe the issue properly in your PR and reference the issue number.
  • Follow the existing code style and test your changes.
  • Update documentation if you add new features.
  • One feature per PR and be respectful to other contributors.

πŸš€ Features

  • Live AQI Dashboard: See the current Air Quality Index for your location.
  • Explore AQI Page: Search for any city and view its AQI, primary pollutant, last updated time, and detailed pollutant concentrations (PM2.5, PM10, O₃, NOβ‚‚, SOβ‚‚, CO).
  • Interactive Map: Visualize AQI data on a map centered on the searched location (requires Stadia Maps API key).
  • Dark/Light Mode Toggle: Easily switch between dark and light themes from the navbar.
  • Health Suggestions: Get tailored health advice and precautions based on AQI.
  • Improvement Measures: Learn how you and your community can help improve air quality.
  • 7-Day Forecast: Visualize upcoming air quality trends with interactive charts.
  • Responsive UI: Built with React, Tailwind CSS, and Chart.js for a modern, mobile-friendly experience.

✨ Contributors

Avatar Username Commits Additions Deletions GitHub
NirvikD 10 772 183 @NirvikD
gaurav123-4 3 723 43 @gaurav123-4
Mohamed-Fiyaz 3 472 179 @Mohamed-Fiyaz
deepanshu-prajapati01 5 312 151 @deepanshu-prajapati01
Kashish23092004 4 295 256 @Kashish23092004
PROJITAKAR 1 236 19 @PROJITAKAR
RAGHU1242 2 181 108 @RAGHU1242
shubhranshu-sahu 1 130 0 @shubhranshu-sahu
ShubhamDidharia 1 47 1 @ShubhamDidharia
harsimrankaur15 3 42 1 @harsimrankaur15
Tanyasharma71 1 21 0 @Tanyasharma71
riya751885 1 3 0 @riya751885
vinitjain2005 1 1 1 @vinitjain2005
modi-meet 1 2 0 @modi-meet

πŸ› οΈ Maintainer

Avatar Username Commits Lines Added Lines Deleted GitHub
prasoonk1204 9 2,202 1,121 @prasoonk1204

πŸ—‚οΈ Project Structure

.
β”œβ”€β”€ client/   # React frontend
β”œβ”€β”€ server/   # Node.js + Express backend
β”œβ”€β”€ README.md
└── ...

πŸ› οΈ Getting Started

Prerequisites

1. Clone the Repository

git clone https://github.com/prasoonk1204/BreatheEasy.git
cd BreatheEasy

2. Set Up the Frontend

cd client
npm install
# or
yarn install

.env Setup

Copy .example.env to .env:

cp .example.env .env

Edit .env and add your API keys:

VITE_WAQI_API_KEY=your_waqi_api_key_here
VITE_STADIAMAPS_API_KEY=your_stadiamaps_api_key_here
  • WAQI API Key: Get your key here.
  • Stadia Maps API Key:
    • Go to Stadia Maps.
    • Sign up for a free account (no credit card required for the free tier).
    • In your dashboard, go to "Manage Properties" β†’ "Authentication Configuration" to generate/view your API key.
    • Copy and paste it as VITE_STADIAMAPS_API_KEY in your .env file.

Start the frontend:

npm run dev
# or
yarn dev

Open http://localhost:5173 in your browser.

3. Set Up the Backend

cd ../server
npm install
# or
yarn install

Start the backend server:

npm start
# or
yarn start

The backend will run on http://localhost:3000 by default.


πŸ’‘ Tech Stack


πŸ’¬ Community & Support

  • Questions? Open an issue with the question label
  • Bug Reports: Use the bug label when creating issues
  • Feature Requests: Use the feature label

πŸ“œ License

This project is open-source and available under the MIT License.


Happy Contributing! πŸŽ‰

About

BreatheEasy is an app that delivers real-time AQI data, pollutant insights, health tips, and improvement measures in a clean, mobile-friendly interface.

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 16

Languages