Skip to content

Spotify API backend built with Node.js to fetch real-time currently playing tracks and power live music widgets in wherever you want.

Notifications You must be signed in to change notification settings

Rajeshkanth/spotify-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

🎧 Spotify Backend Integration

This repository contains a Node.js-based backend service that integrates with the Spotify Web API to fetch real-time playback information from a user's account.

The server handles:

  • Spotify OAuth authentication flow
  • Access & refresh token management
  • Fetching the currently playing track
  • Providing clean API responses for frontend consumption

This backend powers a live β€œNow Playing on Spotify” widget used in my portfolio website that dynamically displays song metadata including:

  • Track name
  • Artist
  • Album
  • Album artwork
  • Playback status

πŸš€ Tech Stack

  • Node.js
  • Express.js
  • Spotify Web API
  • OAuth 2.0 Authorization Code Flow

✨ Features

  • Secure token exchange and refresh handling
  • Live playback status updates
  • Lightweight API endpoint for frontend integration
  • Deployed as a public service for real-time access

πŸ“Œ Use Case

Built specifically to showcase real-time Spotify integration in a developer portfolio while demonstrating:

  • Backend API design
  • OAuth implementation
  • API data handling
  • Frontend + backend integration

About

Spotify API backend built with Node.js to fetch real-time currently playing tracks and power live music widgets in wherever you want.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published