Skip to content

SEND MOODZ! At Berkeley, it's honestly hard to get a read on the vibe around campus and when it comes to mental health, collecting data on how students are feeling is both critical and difficult!

Notifications You must be signed in to change notification settings

andyyvo/calhacks9

Repository files navigation

CalHacks 9.0 -- Moodz

Team: Andy Vo, Natalie Chan, Tyler Wu, Ning Zhang

What is Moodz?

Moodz is a web-application built on React.js/TypeScript, Flask/Python, and Google Firebase that allows UC Berkeley students to see what the vibe is on campus. Berkeley students are able to associate with a vibe by choosing from a selection of words that correspond to its respective mood alongside with their associated department for data visualization purposes. After the user sends in their mood for the session, they are able to see the broader Berkeley campus mood by hovering over locations of buildings on campus that correspond to the school/department. Furthermore, students can also get a measurement of Berkeley campus's overall vibe.

What inspired Moodz?

The term "mood" or "vibe" has become quite the popular phrase in today's casual vocabulary, associating with feelings and emotional states as a result of the ambience, aura, and atmosphere of a place or event. Drawn by the audio aura feature from Spotify Wrapped 2021, the Moodz team set out to create a way to measure the aura of Berkeley. As fellow first-year grad students, we all had trouble figuring out what the culture here is at Berkeley.

What's the need for Moodz?

What really drove the need for Moodz was the future implications the platform can have not only for students but also for the Tang Health Center at Berkeley. Oftentimes, I find myself overhearing that university health centers aren't always the greatest resource and perhaps that's simply because it is an underutilized resource that is lacking sufficient student data. By crowd-sourcing student vibes and moods, the university will have a lot more data to better approach its initiatives, campaigns, and other events.

How do you use Moodz?

Setting up Moodz is pretty quick and easy!

  1. Install package dependencies!

npm install

  1. Start the project!

npm start

How was Moodz built and how does Moodz really work?

While our platform looks straightforward, designing it and developing it was a whole adventure. On the design side, our fun moody graphics were hand-drawn. The component system and styles were all written from scratch with the exception of Material UI's select dropdown menu. The data visualizations and the backend gets a little interesting. We trained a model of words using Natural Language Processing to obtain a numerical sentiment to measure the severity of the words in each category. By randomizing sets of words in each user session (tracked by a randomized cryptographic hash), a user submission of their mood will go into our Firebase database. As a result of unprecedented and unexpected challenges along the way in regards to Firebase async issues as well as Flask environments, a significant portion of our project was substituted by "dummy data" to mock the representation of our user inputs. Fortunately, we were able to obtain the user moods but async/await issues pushed us to resort for mock data.

What challenges did Moodz face in 24 hours?

We ran into a quite a number of issues with the project! But that doesn't mean we couldn't get it to work. The premise of Moodz lies on three main technical components: user input, database transactions, and data visualization. We were able to meet two of those metrics (user input and data visualization)! However, what set us back on database transactions was the result of unexpected async/await issues in obtaining Firebase Realtime DB data. While users were able to write into the DB, reading the DB was much more difficult. For some reason, our Flask environment ran into issues as well with hosting and so we resulted to obtaining our data on the client side. While we were able to obtain and map our data, the time was coming to an end.

About

SEND MOODZ! At Berkeley, it's honestly hard to get a read on the vibe around campus and when it comes to mental health, collecting data on how students are feeling is both critical and difficult!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published