Control your spotify playback through a simple website. Uses OAuth 2.0 authorization code flow method for authenticating the user.
- Clone the project to your local machine
- Install dependencies for frontend in
spotify-web-controller
folder:npm install
- Install dependencies for backend in
server
folder:npm install
- Copy
.env.example
insideserver
folder and name it.env
:copy .env.example .env
- Fill
.env
withCLIENT_ID
,CLIENT_SECRET
&REDIRECT_URI
values you got from Spotify Developer portal. - Start the Vite server from the
spotify-web-controller
folder:npm run dev
- Start the express.js server from the
server
folder:npx ts-node src/server.ts
- Navigate to
http://localhost:5173
- Start Spotify Desktop Application