This project is created using the Spotify API and is based on Britanny Chiang's newline course with additional features. Click here to learn more.
- React.js
- Styled Components
- Node.js
- Express.js
- Spotify API
- Heroku 🚀
- Spotify OAuth.
- View logged in user's:
- Followers count
- Top Artists (All Time/ 6 Months/ Month)
- Top Playlists (All Time/ 6 Months/ Month)
- Top Tracks (All Time/ 6 Months/ Month)
- View all Singles and Albums of an artist (including related artists).
- View all available tracks with their information.
- A 30-sec preview of the track.
Due to the changes mentioned in the "Note section" below, accessing the web application requires an individual to be added in my own Spotify Dashboard. If by chance you are interested, just request a demo from me (Email and Spotify name are required).
All newly created app using this API are subject to the changes announced by Spotify for Developers on May 27th, 2021. A couple of features will now require the Spotify Name and Email of the user and add them on your Spotify Dashboard. Read more.
-
Install node
nvm install
-
Install dependencies
npm install
-
Register and Create a new Spotify App in the Spotify Developer Dashboard.
-
Go to the App Settings and add 'http://localhost:8888/callback as a Redirect URIs.
-
Create a
.env
file at the root of the project and base it on the.env.example
file. -
From your Spotify Dashboard, get and add the
CLIENT_ID
andCLIENT_SECRET
to the.env
file inside the root. -
Run React App on http://localhost:3000 and Node server on http://localhost:8888
npm start
-
Create your Heroku app
-
Login to Heroku
heroku login
-
Add the created Heroku App as a git remote
heroku git: remote -am app-name
-
In your Spotify App Settings, add "https://app-name.herokuapp.com/callback" as a Redirect URI.
-
In the Heroku Dashboard, add config vars based on the
.env
file. -
Deploy changes
git add . git commit -am your-comment
-
Push to Heroku
git push heroku master