System requirements:
Node version 16.14.0
npm version 8.5.0
Technologies:
webpack
, express
, vanilla js
, scss
, spotify web api
Installation:
git clone [this repo]
cd /web-spotify-challenge
Add a .env
to the root directory.
// .env
CLIENT_ID=[YOUR_SPOTIFY_CLIENT_ID]
CLIENT_SECRET=[YOUR_SPOTIFY_CLIENT_SECRET]
SPOTIFY_ENDPOINT="https://api.spotify.com/v1"
SPOTIFY_AUTH_ENDPOINT="https://accounts.spotify.com/api/token"
Run npm install
In one terminal window/tab run npm run build:dev
In another terminal window/tab run npm run start:dev
App runs at localhost:8080
Useful resources:
Spotify web API
Spotify client credentials