Inspiration
I was inspired by my own struggles of sorting trash. I am usually very unmotivated to sort it out, especially back at home with my parents, so I tend to throw everything away in the garbage bin and not the recycling bin.
What it does
This is a simple app that lets you ask where to sort your trash and if a key word isn't used, the OpenAI API will help you out. You can also see a list of your trash that you have entered when you log in.
How we built it
I used a lot of prior knowledge on building a web application from my class CSCI 3030 Web Programming that I took last semester, and I also had to learn a lot of new things by asking AI itself on how to write and understand my implementations.
Challenges we ran into
I found it tricky to find a database, because AI recommended me to use a database called Prisma, but I ended up switching to MongoDB and creating a free cluster for the app data. Also, an important thing to note is that you need to have your own OpenAI key in order to access the AI resources, which you have to pay for as well. For the demo, I used my own...
Accomplishments that we're proud of
I'm proud that I was able to finish this by myself, even though I was occupied most of the day with my other extracurriculars. I am also proud that I learned how to use the OpenAI API, even though I had to spend some money to get it to work.
What we learned
I learned that AI is not perfect, and I also learned how to use different APIs I've never used before.
What's next for AI Trash Sorter
I think next, I'll add a lot more features and maybe add a feature to connect with other people. I may also expand it on not only trash, but other sorting items that people don't want to do n their own.
Built With
- css
- html
- javascript
- mongodb
- mongoose
- next.js
- openai
- react
- typescript
Log in or sign up for Devpost to join the conversation.