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.
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.
To run the app, follow these steps:
- Open a terminal in the root directory of the project
- 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
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.
This application was developed by Ian Macdonald, Iain McCall and Mark Slorach for CodeClan’s JavaScript full stack group project.