Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.58 KB

README.md

File metadata and controls

38 lines (35 loc) · 1.58 KB

Spotify Web Controller

Control your spotify playback through a simple website. Uses OAuth 2.0 authorization code flow method for authenticating the user.

Built with

TypeScript React TailwindCSS Vite Spotify

How to run

  1. Clone the project to your local machine
  2. Install dependencies for frontend in spotify-web-controller folder:
    npm install
  3. Install dependencies for backend in server folder:
    npm install
  4. Copy .env.example inside server folder and name it .env:
    copy .env.example .env
  5. Fill .env with CLIENT_ID, CLIENT_SECRET & REDIRECT_URI values you got from Spotify Developer portal.
  6. Start the Vite server from the spotify-web-controller folder:
    npm run dev
  7. Start the express.js server from the server folder:
    npx ts-node src/server.ts
  8. Navigate to http://localhost:5173
  9. Start Spotify Desktop Application

Website

Spotify Web Controller Image