Skip to content

Drischdaan/spotify-queue

Repository files navigation

spotify-queue

A web app that allows people to add songs to your spotify queue.
Explore the page »

Issues MIT License

❗ Important

This project is still in development and not ready for production use. Only use it for testing purposes.

🛠️ Built With

This project was build with following frameworks/libraries:

Next JS TailwindCSS

🚀 Getting Started

Create an environment file .env.local in the root directory and add the following variables:

DATABASE_URL=<postgres-database-url> # The connection string to your postgres database
SPOTIFY_CLIENT_ID=<spotify-client-id> # The client id of your spotify app
SPOTIFY_CLIENT_SECRET=<spotify-client-secret> # The client secret of your spotify app
SPOTIFY_STATE_KEY=<state-key> # A random string that is used to set the access token

After that run the following commands:

# Install dependencies
$ pnpm install

# Run the development server
$ pnpm run dev

Open your browser and enter following url, after replacing <spotify-client-id>, <state-key> and <host>:

https://accounts.spotify.com/authorize?response_type=code&client_id=<spotify-client-id>&scope=user-read-email,user-read-currently-playing,user-read-playback-state,user-modify-playback-state&redirect_uri=<host>/api/spotify/callback&state=<state-key>

📜 License

Distributed under the MIT License. See LICENSE for more information.

🫱🏽‍🫲🏽 Contact

Github Discord Twitter

About

A webapp that allows people to add songs to your playback queue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published