Giter VIP home page Giter VIP logo

spotifyapispring's Introduction

Spring-boot application consuming spotify's API (PKCE OAuth 2.0 Flow)

Spring-boot application consuming spotify's REST API to show user's
  • Top played tracks of all time/past 6 months/past month
  • Top played artists of all time/past 6 months/past month
  • Show recently played tracks
  • Saved albums
  • Saved tracks
  • Newest released tracks
  • Featured playlists
  • Current playing track
  • Searched tracks/playlist/artists

Tech Stack Used

  • Java 15
  • Spring Boot 2.5.0
  • Spring MVC
  • Thymeleaf
  • Lombok
  • RestTemplate

Resources


Screen-record (Low Quality)

pottify-screen-record-demo

Local Setup

  • Install Java 15
  • Install Maven

Recommended way is to use sdkman for installing both maven and java

sudo su
sudo apt update
sudo apt install zip unzip
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"

Install Java 15

sdk install java 15.0.1-open

Intsall Maven

sdk install maven

Spotify App Setup

  • Create A New App In Spotify Developers Console
  • Set Redirect URL to http://localhost:9090/callback
  • Copy the client-id generated for the above app along with redirect-uri and configure them in application.properties file
com.hardik.pottify.app.client-id=<Client-id here>
com.hardik.pottify.app.redirect-url=<Redirect-URI here>

Run the below commands in the core

mvn clean install
mvn spring-boot:run

server port is configured to 9090 which can be changed in application.properties file

Go to the below url to view application

http://localhost:9090

spotifyapispring's People

Contributors

hardiksinghbehl avatar alooparontha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.