Inspiration
The coolest thing about hackathons is that it brings together so many unique individuals from all around the world. Through competition and fun, our differences broaden our understanding and appreciation for life. My friend Danny and I are really passionate about people and technology, so we thought it would be educational and empowering to create a platform that connected people from all around the world.
What it does
Parrot Mate has two main functionalities. First, users can take quizzes with various degrees of difficulty to sharpen their skills in one of over 100 languages supported by the platform. The second functionality is that users are able to chat in a global chatroom with people from all across the world. The language is automatically detected and translated into the user's native language.
How I built it
We used a full stack JavaScript approach by using the Next.JS Framework, ReactJS library, and MongoDB. The server is deployed on a Linux box running Apache and hosted with digital ocean. This application also relied on the Google API for translation. We have our own domain name! Check out at parrotmate.com
Challenges I ran into
The google API limits how many requests occur, so we had to implement logic in order to limit those requests. Also, implementing chat was difficult because we could not just broadcast the message to all listeners with something like Socket.IO since we had to make sure that every listening individual had to have the message display in their native language. We ended up implementing a POST for incoming messages and a GET that is executed on an interval to get all messages in the native language of the requester.
Accomplishments that I'm proud of
All the functionality took a lot of planning and hard work. We are proud that we deployed a chat server within a weekend and that we were able to implement so much functionality.
What I learned
We learned that Next.JS is really simple for packaging and shipping an entire application into a single deployment.
What's next for Parrot Mate
We hope to add a functionality for users to be able to define words and rate translations in order to accumulate data that could be used to help improve google API and computed language translation in general.



Log in or sign up for Devpost to join the conversation.