Inspiration
The inspiration for this project came from learning about the detrimental affects of waste, and how we can fix it. I learned about how waste can hurt the environment, and create pollution and contribute to climate change. I wanted to help fix this issue, and wanted to help as many others as I could do the same. I wanted to make recycling easy for others, so more people would do it.
What it does
This project locates nearby recycling locators from a city that you type in. You can type in your city, and 20 different recycling locations in your city will show up, and it will give the business name, address, rating, special service options(Wheelchair accessible, etc.), and the business phone number for easy contact. There is also a page in the site that talks about recycling, why it is important, the kinds of things you can recycle, and how you can recycle.
How we built it
I built this project using Python, HTML, and CSS and I used Flask as a web framework. I also used the Scrape-It.Cloud API to get the data I wanted. I used Python for the functions, and to get the data I wanted from the API. It would search the API for recycling locations in city(which is city that is put into the text box), and then get information such as phone number, address, and business name. I used HTML to make the website, different buttons, and text. I used the CSS to add style to the site, such as a background color of light blue and green buttons to search and go to the other page.
Challenges we ran into
Some challenges I ran into were errors in the code, and trying to think of how to perform certain operations. For example, if a certain business doesn't have a rating, I was getting an error, so I had to implement into the Python code that if there is no rating, say "No rating available".
Accomplishments that we're proud of
I am proud that I created a project in one weekend, and I learned lots from workshops and constant coding. I am also proud that I was able to work with CSS, because I haven't used CSS much, mainly just Python and a bit of HTML. I learnt lots in each language, but especially CSS.
What we learned
I learned about CSS, and also more about Flask. I also learnt more about API's. Although I didn't use it in my project, I loved learning about GRASS, geoprocessing, and creating maps through code.
What's next for Recycling Locator
Next, I am going to add more features, such as adding the website of the business, and more precise location system to find more precise locations of recycling centers. I am also going to fully deploy it and add more pages about how recycling can help and benefit, as well as another page to determine your recycling day given your location.
Log in or sign up for Devpost to join the conversation.