How many times have you ever wondered "how does Google figure out which song I'm looking for using only a small part of the lyrics?" I honestly had never asked that to myself, except yesterday, and I decided to try to replicate something like that.
To do all this I needed:
- A big amount of music lyrics
- A storage
- A way to do something like a "full-text search"
I was about to give up on the idea when a friend asked me "why don't you just do it for metal songs?" The metalhead in me couldn't hold back and googled "best 1000 metal songs ever"
- Download the 1000 best metal song ever list here
- For each track download the lyrics list here - code here
- Upload all the lyrics on Redis using RedisJSON code here
- Create a web server with search and stats endpoints result here - code here
- Create a frontend application to show the results result here - code here
Want to know more about the results? Get a look to the releated medium article