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.
- 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.
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
- React
- React Router DOM
- MUI
- Axios
- Formik
- Yup