Deployed at https://derek-nextjs-spotify.vercel.app/
Nextjs_Spotify_Demo1.mp4
- Nextjs v12 (middleware, server rendering)
- NextAuth v4
- Spotify Web API for node
- Tailwind v3, custom layout components
- Recoil for managing global state such as current track, isPlay, playlist id
# Create the app
npx create-next-app@latest --typescript -e with-tailwindcss nextjs-spotify
# install heroicons
npm install @heroicons/react
# install next-auth
npm i next-auth
https://developer.spotify.com/dashboard/applications
I personally login via facebook.
app: nextjs-spotify
client id: 0e3eff139050415a9635bc8e4394622a