Skip to content

The1987/spotify-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

Simple node.js app connecting to Spotify API, reading from API, local DB and writing to DB from Spotify. Not currently integrated with Shopify.

Setup

Setting Up Local Database

  • Use the file within the database directory to help create local spotify_db within MySQL.

Setting Up Code (Locally)

  • Clone repo locally using the following command:
git clone https://github.com/The1987/spotify-api-app.git
  • Open the repo and run npm init
  • Run the command npm install
  • In the root directory add in .env file (example below).
## Local ##
PORT="3000"
DBHOST="localhost"
USERID="your-db-user-id"
DBSECRET="your-db-password"
DATABASE="spotify_db"
DBPORT="3306"

## Spotify Api Creds ##
SPOTIFYCLIENTID="ypur-spotify-client-id"
SPOTIFYCLIENTSECRET="your-spotify-client-secret"

Note: To find Spotify Creds login to your Spotify Developer Account

  • To run the app run the command: npm run start

License

MIT

About

[App] - Simple node.js using the Spotify api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published