Every year, approximately 4 billion trees are cut down for producing paper. This loss of trees can lead to significant global problems, which include climate change, soil erosion, flooding, increased greenhouse gases in the atmosphere, and so on. Replant attempts to mitigate this issue by letting users become aware of how much they have contributed to the problem, and gives them an approximate figure of how many trees they need to grow in order to compensate for their paper usage.

What it does

Basically users input the average number of pages they have used each day for a certain period (eg a year), and based on that, the application will exhibit the total number of trees they need to grow to make up for their yearly paper usage.

How I built it

Used HTML and CSS for the front end, and express server for the back end.

Challenges I ran into

I have never worked with express servers before. So learning it on the go, plus struggling to call my css after implementing the back end, made the project quite challenging.

Accomplishments that I'm proud of

Being able to learn something on the spot and then implement it successfully.

What I learned

I learned the basics of using express js, and got to know how a back end works. I also realized that connecting a front end with a back end can be pretty daunting, especially if the front end has to fetch an API from a server.

What's next for replant

Currently, replant does not take into account the paper consumed when using products like toilet paper, plastic bags, newspapers, magazines or books. So adding this feature could be a nice addition as replant would then be able to output much more accurate calculations. Adding a leaderboard would also be nice as it would motivate people to plant more trees, and perhaps give more to the earth than what they have consumed.

Share this project: