Thanks to visit codestin.com
Credit goes to github.com

Skip to content

akoken/spotify-clone

Repository files navigation

Spotify 2.0

This repository contains the source code of Spotify clone app created for educational purposes.

How to run locally?

First, you have to create an .env.local file in the root of the project and set the following environment variables. You can acquire Client ID and Client Secret from Spotify for Developers by creating a new application in your dashboard.

NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_CLIENT_ID=<your spotify client-id>
NEXT_PUBLIC_CLIENT_SECRET=<your spotify client-secret>
JWT_SECRET=HowDoYouTurnThisOn

Note: You also need to set Redirect URIs to http://localhost:3000/api/auth/callback/spotify in your application settings.

Then, you can run the following command to start the server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

This is an educational Spotify clone app that is fully responsive.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •