You're in the right place!
https://musicdiscover.vercel.app/
The website won't work if you try to use it because the Spotify app I'm using is not public. That means you won't be able to log in with your Spotify account. If you want to use it, you'll need to deploy your own version.
- Clone this repository
git clone https://github.com/Victorsitou/musicdiscover.git
cd musicdiscover- Install dependencies
npm install- Publish to Vercel and follow the instructions
npx vercel-
Create a Spotify Developer account and create an app to get your
CLIENT_IDandCLIENT_SECRET. -
Add the following Redirect URIs to your Spotify app settings:
https://your-vercel-domain/api/auth/callback/spotify
https://your-vercel-domain/api/auth/signin/spotify
-
Select
Web APIas the API the app will use. -
Add the following environment variables to your Vercel project and redeploy:
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secret
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://127.0.0.1:3000
- Enjoy discovering new music!