Skip to content

SConaway/stevenconaway.me

Repository files navigation

My Portfolio

image of portfolio

Features

  • uses spotify api to display my currently playing song
  • uses nextjs 14's app routing
  • uses nextjs's new image component to optimize the images (especially the main one)

Setup

Most of the setup is similar to any Next.JS project. I have it hosted on Vercel, so there was no configuration needed for the main deployment. The only thing I had to set up myself was the Spotify integration.

First, I created an application on the Spotify Developer Portal. From there, I used the spotify-web-api-node's Authorization Code Flow to obtain a Refresh Token. The refresh token and Client ID/Secret are entered in the Vercel project settings as:

  1. SPOTIFY_CLIENT_ID
  2. SPOTIFY_CLIENT_SECRET
  3. SPOTIFY_REFRESH_TOKEN.

Credits

Geologica Font downloaded from Google Fonts