Vue.js music libary manager
You can use the app here: https://kong-music-manager.herokuapp.com/#/
{
"CLIENT_ID": "spotify_client_id", #Your Spotify Client ID
"REDIRECT_URL": "https://******/some_endpoint", #Redirect URL for Spotify Auth
"SPOTIFY_URL": "https://accounts.spotify.com/authorize", #Spotify Auth Url
"SCOPE": "user-read-private user-read-email user-library-read", #Spotify permissions
"STATE_KEY": "some_state_key", #State key for referencing state val in local storage
"ACCESS_TOKEN_KEY": "some_access_token_key" #Access token key for referencing access token val in local storage
}
npm install
npm run dev
#generate new cert (if needed):
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365
#build static files:
npm run build
#start server:
npm run start
#if you run into an error on server init, run this command and try again:
openssl rsa -in key.pem -out newkey.pem && mv newkey.pem key.pem