Skip to content

f-ssemwanga/eco-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eco-Tracker

Eco-Tracker is a carbon footprint awareness project. It calculates carbon emissions using car /flight model and distance travelled and returns the carbon emissions and an equivalent number of trees to be planted.


Content


Features

  • Calculate carbon emissions based on travel mode and distance.
  • View the equivalent number of trees needed to offset emissions.
  • Save favorite journeys to local storage.
  • Delete unwanted journeys from local storage.

Getting Started

git clone git@github.com:f-ssemwanga/eco-tracker.git
cd eco-tracker.git
npm install
npm run start

Environment Variable Setup

  • Ensure you have a key from RAPID API
  • Copy the .env.example file to .env in the root of the project.
  • Update the .env file with your API key

Screenshots

Desktop

Eco Calculator Mobile

Mobile

Eco Calculator Mobile


Technologies and Frameworks

  • React
  • React Router DOM
  • MUI
  • Axios
  • Formik
  • Yup

Contacts: