A web app that allows people to add songs to your spotify queue.
Explore the page »
This project is still in development and not ready for production use. Only use it for testing purposes.
This project was build with following frameworks/libraries:
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>
Distributed under the MIT License. See LICENSE
for more information.