The goal of mood project is to develop an application that can find an emotion of a person, and eliminate the negative state of mind by suggestive measures. As a starting point to solve this problem, we developed an application that can help a user to suggest a playlist to anybody in the app who are unhappy.
Research has shown that social networking activity is a good source to gauge a person’s state of mind. Mood of a user is often reflected in his/her social content, like tweets, blogs, article, status updates, etc. Timely analysis of a user’s social media can be used to improve the feelings, and even save a person’s life in an extreme case! Hence it becomes important to regularly analyze the social-media health of our friends and family to take timely action.
Our aim is to provide a platform for the users to help other users who are having a negative state of mind through social media and to also a build a better social relationship/bonding with others. We have used the IBM Watson Tone Analyzer and have also leveraged its Node SDK.
The aim of our project is to build a social media app that can help the users in suggesting songs based on the mood of the other person from spotify that could make the other person happy and could also lead to a path of tackling depression.
The mood project is built using the express framework. Some of the important components are :
- Mood is an app that help continuously gauge the emotions of their followers and also other user’s followers too.
- A user can use it just like any other social media application.
- The users can give the username as their twitter username and give their own password, once they register to the app, their data from twitter will be loaded to the app.
- The user can then click add followers button to load their followers data from twitter to the app.
- Once they load the followers, the users now can click the button to synchronize to get the latest tweets from the followers twitter accounts along with their current emotion that was analyzed using the IBM watson tone analyzer on the most recent tweet.
- This way a user can know when their follower/friend is unhappy and could suggest a playlist from spotify for them based on their mood. 7.The user can click the button “Suggest a playlist from spotify” and it will open a query page where a user can search for a playlist (example query: happy) and a list of playlist will appear that matches the query and the user can send that playlist along with a message to their friends/followers or other user’s followers too.
- In addition to sending a playlist from spotify, a user can also send a message/joke to someone who is unhappy and make their day special.
- User can view the playlists that was sent by others in their mood dashboard.
- The users can also listen to the spotify playlist songs in the spotify web player.
- They can also view the messages that was sent by others as a post, and can also send a reply message that will be posted on the mood dashboard.
The mood project is built using the express framework.
Tech Stack:
- Express
- Mongoose
- MongoDB
- Passport
- Twitter Node Client
- Watson Developer Cloud - Tone Analyzer
- Spotify Web API Node