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.
- 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.
- Frontend: HTML, CSS (TailwindCSS), JavaScript (TypeScript)
- Backend: Ruby with Sinatra
- Styling: TailwindCSS for a responsive and modern UI
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)
git clone https://github.com/sudhantechie/Envicx.git
cd Envicx
npm install
bundle install
After installing dependencies, you need to build the frontend files:
npm run build:ts
To generate the CSS file using TailwindCSS, run the following command:
npm run build:css
npm start
The application will run on http://localhost:4567.