npm install
To install the dependencies
npm start
To start the Server
- Register a Spotify App and add
http://localhost:8000/callback
as a Redirect URI in the app settings - Create an
.env
file in the root of the project - Go to Musicmatch Api and get an API key add the API KEY to
.env
file - Create a
now.json
file and add the following
{
"version": 2,
"builds": [{
"src": "./index.js",
"use": "@now/node-server"
}],
"routes": [{
"handle": "filesystem"
},
{
"src": "/.*",
"dest": "index.js"
}
]
}
now secret add VERSION $VERSION
now secrets list