CarbMine is a comprehensive web application designed to help the Indian coal industry address climate change challenges. It empowers coal mine operators to make informed decisions by quantifying carbon footprints and offering pathways to achieve carbon neutrality. The tool features emission estimation, carbon neutrality simulations, data visualization, carbon credit calculations, and allows users to generate and store PDF reports of their analysis.
Here is the working demo of CarbMine:
- Emission Estimation: Calculate the carbon footprint of coal mining operations.
- Carbon Neutrality Simulations: Explore different strategies to achieve carbon neutrality.
- Data Visualization: Visualize emission data and simulations through interactive charts and graphs.
- Carbon Credit Calculations: Calculate potential carbon credits based on emissions and mitigation strategies.
- PDF Reports: Generate and store PDF reports of your analysis for future reference.
- Past Insights: View historical insights and analyses for ongoing tracking and evaluation.
- React: A popular JavaScript library for building dynamic and interactive user interfaces.
- Tailwind CSS: A utility-first CSS framework for designing responsive and visually appealing interfaces.
- GSAP: A powerful library for creating high-performance animations and transitions in the frontend.
- Python (Flask): A lightweight WSGI web application framework for building the backend services.
- Firebase: A platform by Google that provides cloud-based services including authentication and real-time databases.
To run the Coal Carbon Footprint Tool locally, follow these steps:
- Node.js: Required for running the React frontend.
- Python: Required for running the Flask backend.
- Firebase Account: Set up a Firebase project and configure the credentials.
-
Clone the repository:
git clone https://github.com/Geethika-Kancharla/CarbMine
-
Navigate to the
frontend
directory:cd frontend
-
Create a
.env
file in thefrontend
directory to store your Firebase credentials:touch .env
-
Add your Firebase configuration to the
.env
file in thefrontend
directory:REACT_APP_FIREBASE_API_KEY=your-api-key REACT_APP_FIREBASE_AUTH_DOMAIN=your-auth-domain REACT_APP_FIREBASE_PROJECT_ID=your-project-id REACT_APP_FIREBASE_STORAGE_BUCKET=your-storage-bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id REACT_APP_FIREBASE_APP_ID=your-app-id
-
Install the required dependencies for both the frontend and backend:
-
For the frontend:
npm install
-
For the backend: Navigate to the
backend
directory:cd backend
Install the backend dependencies:
pip install -r requirements.txt
-
-
Start the development servers:
-
React frontend:
cd frontend npm start
-
Flask backend:
cd backend flask run
The application should now be running locally at http://localhost:3000.
-
- Estimate Emissions: Input your data to calculate carbon emissions from coal mining activities.
- Simulate Carbon Neutrality: Experiment with different scenarios to see how to achieve carbon neutrality.
- Generate Reports: Create PDF reports of your analyses and store them for future reference.
- View Past Insights: Access historical data and previous analyses to track progress over time.
This project is licensed under the MIT License. See the LICENSE file for details.