VehiCO (pronounced Vehicle) is a webapp that aims to help users be more environmentally-conscious and make informed decisions by comparing the CO2 emission of different transportation modes for their trip. We also encourage users to take actions and contribute to sustainability efforts by providing a convenient way for them to neutralize their emission by donating to plant trees.
We support address autocomplete for your input!
You can view the distance, travel duration, and CO2 emission (in ton) based on your trip's origin and destination. To put your trip's CO2 emission into perspective, we also provided a chart comparing your trip's emission with other contexts! Once you decide on the transportation mode of your choice, you can get more detailed directions and routing by selecting Get Directions.
In addition to helping you make more informed decisions of your choice of transportation mode, we also provided a convenient way for you to offset your carbon emission by donating to climate change organizations to plant trees!
With the server running (instructions below), navigate to https://vehico-server.herokuapp.com/api-docs/ to test out the Swagger docs for the API.
- Fork and clone the repo
$ git clone https://github.com/MLH-Fellowship/VehiCO.git
$ cd VehiCO
$ docker-compose up --build
$ docker-compose up -d
- Install dependencies
$ cd client
$ npm install
- Run the server and react app
$ npm run dev
- Install dependencies
$ cd server
$ npm install
- Run the server
$ npm start
Navigate to http://localhost:3000/
to test the application.
- For client:
$ docker pull ghcr.io/susiejojo/vehico:client
- For server:
$ docker pull ghcr.io/susiejojo/vehico_server:server
If you have suggestions for how VehiCO could be improved, or want to report a bug, open an issue! Contributions of all kinds are welcomed!
For more, check out the Contributing Guide.
MIT ยฉ 2020 MLH Fellowship
Made with โค๏ธ by Chau Vu and Dipanwita Guhathakurta during Sprint 5 of the MLH Fellowship Explorer Batch, Fall 2020.