2nd Aug 2020
by Eric Jiang <firstname.lastname@example.org>
A few days ago whilst browsing through my old repositories on GitHub, I've discovered a really old app which showcased chaining some really awesome technologies together. This app showed what music I was playing anytime on Spotify or iTunes via Last.fm.
This older version was built in ReactJS + Material UI (v2) you can tell its really old :P
I recently migrated this to be part of this website, the technology is still pretty much the same, basically on my computer/laptop, I have the last.fm scrobbler which 'observes' what music I'm playing,whether its through iTunes or Spotify and broadcasts it on the app.
Then the page uses the Last.fm API to grab the latest information.
I reckon the new version looks pretty cool!! Check it out at ericjiang.dev/music
Previously on my personal website, the blog content, after converting it back to Static Site Pages, I figured out that you can use webhooks to trigger rebuilds. As both Vercel (the hosting provider) and Prismic (the headless CMS provider) have support for webhooks. To do this, we are going to try and trigger a build on the creation and deletion of blog-posts documents.
Something happened to my blog but you can't really tell if you visit the frontend of my blog! I migrated all my blog posts over to Prismic as a Headless CMS solution, after finding that I prefer writing my blog content over on a rich text editor and also having to roll out a change to my preview and main branches on my repository (github.com/ericjiang97/nextjs-personal) especially with blog posts.
Like many developers out there, Visual Studio Code (VSCode) is now my go to editor for almost everything (with the exception for Android Studio (for Android) and IntelliJ IDEA (for Java)). I really like customising my VSCode, so that it is easier for me to develop on.