Skip to content

PiotrFidurski/spotify-player

Repository files navigation

Spotify-Player

Table of Contents

Click to expand

Introduction

Welcome to Spotify-player where u can search for any song and play it through spotify API (requires premium account).

Environment variables

Name Description Example
SPOTIFY_API_URI spotify API uri https://api.spotify.com/v1
SPOTIFY_API_TOKEN spotify API uri to receive refresh_token https://accounts.spotify.com/api/token
NEXTAUTH_SECRET some secret key for your next-auth setup 192334184120
NEXTAUTH_URL The URI of the app https://spotify-player-opal.vercel.app/
SPOTIFY_CLIENT_ID spotify client id dashboard e3asd3e790v3aas4199aasd057abbe0a82006
SPOTIFY_CLIENT_SECRET spotify client secret dashboard e3asd3e790v3aas4199aasd057abbe0a82006

Deploy this yourself

  • Clone to your computer.

    • clone this repo

    • cd spotify-player

    • npm install

  • Create .env.local in the root directory of your project, add env variables required.

  • Start a dev server

    • npm run dev

About

Search and play songs through spotify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published