Clean Breath is a web application designed to help users improve air quality in their surroundings by recommending the best plants to reduce specific air pollutants. The app provides insights into the types of plants that can help mitigate pollutants such as SO2, PM10, NO2, CO, O3, and PM2.5, allowing users to make informed decisions for a healthier environment.
-
Track Air Quality: Monitor real-time air quality data and pollutant concentrations to stay informed about your surroundings.
-
Know Your Plant: Learn about various plants and their benefits, including air purification and aesthetic appeal.
-
Green Insights: Explore insightful articles on plant care, benefits, and tips for a greener living space.
-
Find Your Plant: Discover a wide variety of plants suited to different environments and preferences.
-
Frontend: React, Tailwind CSS, Vite
-
Backend: Node.js, Express
-
Database: MongoDB
-
Payment Gateway: Razorpay
-
Node.js (v16 or higher)
-
npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/clean-breath.git cd clean-breath -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Navigate to the backend directory (if separate):
cd server -
Install dependencies:
npm install
-
Create a
.envfile in the backend directory and add the necessary environment variables:MONGODB_URI=your_mongodb_connection_string RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_key_secret CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secret -
Start the server:
npm start
-
Frontend: Configure environment variables if necessary (e.g., API endpoints).
-
Backend: Ensure your
.envfile includes the following:-
MONGODB_URIfor MongoDB connection -
RAZORPAY_KEY_IDandRAZORPAY_KEY_SECRETfor Razorpay -
CLOUDINARY_CLOUD_NAME,CLOUDINARY_API_KEY, andCLOUDINARY_API_SECRETfor Cloudinary (used for uploading and managing plant images) -
Any other necessary API keys or configuration values
-
-
Frontend: Open your browser and visit
http://localhost:3000to access the application. -
Backend: Ensure the backend server is running and configured to accept API requests.
-
Fork the repository
-
Create a new branch:
git checkout -b feature-branch -
Make your changes
-
Commit your changes:
git commit -am 'Add new feature' -
Push to the branch:
git push origin feature-branch -
Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out to:
-
Email: [email protected]
-
GitHub: Chandan Nekya

