Skip to content

Application to calculate your carbon footprint from air travel. Group JavaScript project at CodeClan. Built using React, Express and MongoDB.

Notifications You must be signed in to change notification settings

markslorach/carbon-footprint-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CarbonFootprint Flight CO2 Emissions Tracker

CarbonFootprint is an app that helps users calculate their carbon footprint from air travel. With CarbonFootprint, you can:

  • Input your trip details, including departure and arrival airports, to calculate your carbon emissions.
  • See how many trees you would need to plant to offset your emissions.
  • Add your trips to a trip portal so you can track your carbon footprint over time.
  • Delete trips from your trip portal.
  • View a single trip and click to plant a tree. This will take you to more information on how to do this.

CarbonFootprint is a simple and easy-to-use app that can help you understand the environmental impact of your air travel. By using CarbonFootprint, you can make more informed decisions about your travel and take steps to reduce your carbon footprint.

Brief

Create an application that allows users to track their CO2 emission.

MVP

  • Search for flight
    • The user should be able to search for flights by departure and arrival airports, departure and arrival dates, and airline.
    • The app should display a list of flights that match the user's search criteria.
  • Add flight
    • The user should be able to add a flight to their carbon footprint by entering the flight details, including departure and arrival airports, and departure and arrival dates.
    • The app should calculate the carbon footprint of the flight and display it to the user.
  • Delete flight
    • The user should be able to delete a flight from their carbon footprint.
  • View Carbon Footprint (C02)
    • The user should be able to view the carbon footprint of their flights.
    • The app should display the carbon footprint in kilograms of CO2.
  • View Co2 emissions by graph
    • The user should be able to view the carbon footprint of their flights in a graph.
    • The graph should show the carbon footprint over time.
  • Intuitive and user friendly
    • The app should be intuitive and easy to use.
    • The user should be able to find the information they need quickly and easily.

Getting Started

To run the app, follow these steps:

  1. Open a terminal in the root directory of the project
  2. Run the following command in the terminal:

In the ‘client’ folder

npm install
npm start

In the ‘server’ folder

npm install
npm run server:dev

Once the application is up and running, you can access it through your web browser on http://localhost:3000

Prerequisites

Make sure you have the following software installed on your system:

  • Node.js: You can download and install Node.js from the official website.
  • npm: Node Package Manager. This is installed with Node.js.

Authors

This application was developed by Ian Macdonald, Iain McCall and Mark Slorach for CodeClan’s JavaScript full stack group project.

Screenshots

Search Page

Trip Portal Page

Plant a Tree Page

About

Application to calculate your carbon footprint from air travel. Group JavaScript project at CodeClan. Built using React, Express and MongoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published