Skip to content

A Simple example to use Spotify API and Musixmatch API with node js to show lyrics

Notifications You must be signed in to change notification settings

vj-abishek/spotify-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-server

An example for using Spotify API with node js

Installation

npm install

To install the dependencies

npm start

To start the Server

Setup

  1. Register a Spotify App and add http://localhost:8000/callback as a Redirect URI in the app settings
  2. Create an .env file in the root of the project
  3. Go to Musicmatch Api and get an API key add the API KEY to .env file
  4. Create a now.json file and add the following

now.json settings

{
  "version": 2,
  "builds": [{
    "src": "./index.js",
    "use": "@now/node-server"
  }],
  "routes": [{
      "handle": "filesystem"
    },
    {
      "src": "/.*",
      "dest": "index.js"
    }
  ]
}

Add Secrets to now.sh

now secret add VERSION $VERSION

To see the list of secrets

now secrets list

About

A Simple example to use Spotify API and Musixmatch API with node js to show lyrics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published