A spotify redesign using Next.js and TailwindCSS, with a focus on accessibility, performance and learning. User can get the playlists, top tracks, fav artists, playback(only premium users) functionality.
NextJs, Spotify web node API, Tailwind CSS, next auth, react icons(box icons mostly), Zustand, react-hot-toast.
- Get all playlist
- Get top tracks
- User's music library
- Playback (limited to spotify premium users only)
- Top tracks from fav artist.
To run this project, you will need to add the following environment variables to your .env file
NEXTAUTH_URL
Sign up to a spotify developer account, create an app and fetch these variables.
NEXT_PUBLIC_CLIENT_ID
NEXT_PUBLIC_CLIENT_SECRET
This variable is for next auth.
JWT_SECRET
Clone the project
git clone https://github.com/kunaaal13/spotify-2.0.git
Go to the project directory
cd spotify-2.0
Install dependencies
npm install
Start the server
npm run dev