Mood Palette

Turn how you feel into colours and music

Live AppLinkedIn Post

Write how you feel, and Mood Palette gives you a colour palette and a matching track to play on Spotify, Apple Music or YouTube Music.

How I built it

It runs on React 19 and Express 5. Gemini reads each reflection, places it among 12 moods and generates a matching palette. Music was the harder part. I didn't want to manage an API key for each service, so I wrote a keyless resolver that checks the public iTunes and Deezer catalogues to find one matching track across all three.

Outcome

It's live at moodpalette.app. Guests keep their history when they sign up, because saved sessions move from local state into MongoDB on first login. A Playwright suite tests that flow end to end.

Built with

React, TypeScript, Node.js, Express, MongoDB, Google Gemini, Canvas API, Playwright