Skip to content

The Environment Impact Calculator helps users estimate their carbon footprint and water usage based on daily habits, offering personalized suggestions for more sustainable living. This web tool empowers individuals to make eco-friendly choices and track their environmental impact.

License

Notifications You must be signed in to change notification settings

sudhantechie/Envicx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environmental Impact Calculator

This is a web-based tool that helps individuals calculate their environmental footprint based on various lifestyle choices, such as travel, diet, energy usage, and waste management. It provides actionable insights and suggestions to reduce the environmental impact.

Features

  • Travel Impact: Calculate carbon footprint based on daily travel (in km).
  • Diet Impact: Calculate carbon footprint based on meat consumption.
  • Energy Usage: Calculate carbon footprint based on daily energy usage and winter energy usage.
  • Waste and Recycling: Calculate the impact based on plastic waste, recycling rate, and eco-friendly shopping habits.
  • Results: Displays carbon footprint, water usage, and suggestions to reduce impact.

Technology Stack

  • Frontend: HTML, CSS (TailwindCSS), JavaScript (TypeScript)
  • Backend: Ruby with Sinatra
  • Styling: TailwindCSS for a responsive and modern UI

Prerequisites

To run this project, you'll need the following installed:

  • Ruby (version 3.x or later)
  • Node.js (version 14.x or later)
  • npm (for managing dependencies)
  • Bundler (for Ruby dependency management)
  • TailwindCSS (for styling)

Project Setup

1. Clone the repository

git clone https://github.com/sudhantechie/Envicx.git
cd Envicx

2. Node.js Dependencies

npm install

3. Ruby Dependencies

bundle install

4. Build Frontend Assets

After installing dependencies, you need to build the frontend files:

Build JavaScript

npm run build:ts

Build CSS

To generate the CSS file using TailwindCSS, run the following command:

npm run build:css

5. Run the Application

npm start

The application will run on http://localhost:4567.

About

The Environment Impact Calculator helps users estimate their carbon footprint and water usage based on daily habits, offering personalized suggestions for more sustainable living. This web tool empowers individuals to make eco-friendly choices and track their environmental impact.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published