Dream Box


Personal Proejct Fall 2015


         In Dream Box, users can build their own dream boxes by logging in or create a name. They can read others' dream journals from the home page and comment on them. After users create their dream logs, the sentiment analysis api can tell them whether it is a good dream or bad dream. The application uses node.js and IBM Waston Sentiment API.



Why I created this

This simple website is my final project of a web development class. The database and web domain are powered by heroku.

I always have vivid and sometimes amazingly interesting dreams. I want to keep a dream journal to record what I dreamt so that I would not forget. Sometimes the dream is complex, with a lot of postive and negative emotions. I keep wondering whether it is a good sign or a bad sign. In my application, I used a natural language processing api to analyze the sentiment of the text. With the algorithm offered by the api, I can detect the overall sentiment of the dream content.


How does it work

1. Home page displays all the dream journals and their related comments

2. User can click the comment button to comment on the dream and save it

3. Login page allows users to either create a new page or entering their existing page by type in their user name

4. On the individual user page, one can write the dream content in a text box

5. The api will tell users immediately whether it is a good dream or a bad dream

6. The page automatically adds user's dream to his/her previous dream journals if exist