Inspiration

Dreams are one of the most mysterious things that exist, and are puzzling the scientific community to this day. If there was just a way that any normal citizen could just find a correlation between the dreams they have and their behaviour the day before, it would provide so much more data to scientists and make their research much easier. That's why I built DreamLogger.

What it does

Because it's meant for the general population, the UI is simple. Signup, then login and you can look at other people's dreams by searching by tag, you can add you own dream to the list, and you can take a look at only your dreams. When you add a dream you enter a title (like a general summary), the dream itself, how many hours you slept the night before, what you ate the night before, up to 5 tags, and a thumbnail picture to somewhat describe the dream visually.

How we built it

It has a Node.js backend and HTML, CSS, JS frontend. I built it using VS Code locally, and then transferred it to Replit.com for a try-it link.

Challenges we ran into

There were challenges with getting an image upload to the backend, and I had to send a POST fetch() request to the backend, save the data as a variable, then send another POST fetch() request but with different Headers to get the image to the backend and then save it.

Accomplishments that we're proud of

I'm proud of how it looks and I think it has a calm cool vibe, like fluffy clouds and flying in the sky, a typical dream.

What we learned

I learned how to send images to backend, and I got more comfortable with Mongodb and its synchronous and asynchronous functions.

What's next for DreamLogger

I'm going to add a follower system and some filters on searching for dreams so that you can search by food, user, title, etc. And a like system so you can filter by amount of likes.

Share this project:

Updates