No description
Find a file
2025-12-04 16:05:17 +01:00
.mvn/wrapper SpringBoot + SQLite setup 2025-10-13 11:05:33 +02:00
src ReadMe + cleanup 2025-12-04 11:45:28 +01:00
.env.example ReadMe + cleanup 2025-12-04 11:45:28 +01:00
.gitattributes SpringBoot + SQLite setup 2025-10-13 11:05:33 +02:00
.gitignore ReadMe + cleanup 2025-12-04 11:45:28 +01:00
mvnw SpringBoot + SQLite setup 2025-10-13 11:05:33 +02:00
mvnw.cmd SpringBoot + SQLite setup 2025-10-13 11:05:33 +02:00
pom.xml Fix duplicates in playlist 2025-11-06 14:38:27 +01:00
README.md Update ReadMe 2025-12-04 16:05:17 +01:00

02369 Group 6 Project

Song queue for Spotify

Install and run project

  1. Ensure that Maven and Java v21 is installed, as the project requires these to build and run.

  2. Login to the Spotify Developer Dashboard and create a new application, with the redirect URI=http://127.0.0.1:8080/callback/spotify and Web API enabled. image image

  3. Rename the file .env.example and replace the example CLIENT_ID and CLIENT_SECRET fields with values from the Spotify Dashboard. image

  4. Start the web server with the command mvn spring-boot:run.

  5. Open http://127.0.0.1:8080/ in your browser and use the website.

Run tests

  1. Before running the unit tests make sure the project is setup as described in the previous section.
  2. Run the server with the command mvn spring-boot:run.
  3. Press "Login with Spotify" and login in with your Spotify account.
  4. Copy the access token displayed in the spring boot console (the console where you ran the command in step 2) and replace the example token for TEST_ACCESS_TOKEN in the .env file with this newly created token.
  5. Stop the running server and run the command mvn verify to run all the tests.