All Projects → JoeKarlsson → react-spotify-player

JoeKarlsson / react-spotify-player

Licence: other
Realtime Spotify Player built with React.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-spotify-player

spotify-true-random
🔀 An application for unbiased truly random playlist and library shuffling with Spotify.
Stars: ✭ 51 (-59.52%)
Mutual labels:  spotify, spotify-plugin, spotify-web-api
SpotMusicGen
A Program that creates a Spotify playlist from a YouTube Playlist
Stars: ✭ 47 (-62.7%)
Mutual labels:  spotify, spotify-web-api
spotify-release-list
📅 Display list of Spotify releases from artists you follow
Stars: ✭ 142 (+12.7%)
Mutual labels:  spotify, spotify-web-api
foo spotify
foobar2000 component for Spotify integration
Stars: ✭ 158 (+25.4%)
Mutual labels:  spotify, spotify-web-api
spotipy2
The next generation Spotify Web API wrapper for Python 3.7+
Stars: ✭ 25 (-80.16%)
Mutual labels:  spotify, spotify-web-api
spotify-vibe-check
Spotify Vibe Checker Web App to vibe check your Spotify Playlists! (currently broken due to CORS)
Stars: ✭ 24 (-80.95%)
Mutual labels:  spotify, spotify-web-api
spotify-web-sdk
A JS SDK for the Spotify Web API.
Stars: ✭ 39 (-69.05%)
Mutual labels:  spotify, spotify-web-api
Spotify-Telegram-Bio-Updater
Spotify Telegram Bio Updater Heroku Integration
Stars: ✭ 26 (-79.37%)
Mutual labels:  spotify, spotify-web-api
remixr
Discover new music based on the Spotify playlists you know and love!
Stars: ✭ 37 (-70.63%)
Mutual labels:  spotify, spotify-web-api
react-redux-spotify
React + Redux + Spotify web api boilerplate project
Stars: ✭ 14 (-88.89%)
Mutual labels:  spotify, spotify-web-api
SpotifyWebApi
A .net core wrapper for the Spotify Web API
Stars: ✭ 19 (-84.92%)
Mutual labels:  spotify, spotify-web-api
laravel-spotify
Laravel-Spotify is a simple wrapper around the Spotify Web API that makes working with its endpoints a breeze!
Stars: ✭ 141 (+11.9%)
Mutual labels:  spotify, spotify-web-api
Chleon-Player
A minimalistic media player which adjusts the color based on the wallpaper or cover.
Stars: ✭ 29 (-76.98%)
Mutual labels:  spotify, spotify-plugin
personal-dj
Personal DJ site that creates playlists given custom inputs. View it live at: http://personaldj.net/
Stars: ✭ 27 (-78.57%)
Mutual labels:  spotify, spotify-web-api
spotify-playlist-generator-analyzer
Creates a personal playlist based on self chosen preferences.
Stars: ✭ 38 (-69.84%)
Mutual labels:  spotify, spotify-web-api
musicritic
Your personal music-specific Metacritic.
Stars: ✭ 45 (-64.29%)
Mutual labels:  spotify, spotify-web-api
MySpotify
A website to view your Spotify stats.
Stars: ✭ 38 (-69.84%)
Mutual labels:  spotify, spotify-web-api
Exportify
Export/Backup Spotify playlists using the Web API
Stars: ✭ 1,611 (+1178.57%)
Mutual labels:  spotify, spotify-web-api
whichone
A personalised Spotify quiz based on the music you listen to
Stars: ✭ 14 (-88.89%)
Mutual labels:  spotify, spotify-web-api
Jekyll-Spotify
Easily output Spotify Embed Player for jekyll
Stars: ✭ 15 (-88.1%)
Mutual labels:  spotify

React Spotify Player

How to Build A Spotify Player with React in 15 Minutes

Have you ever wanted to add Spotify integration into your app or website? Adding personalized music to any application is super easy with the Spotify Developer API.

The Spotify API is easy to use and can be added to any application.

In this post, I am going to walk through how to access the Spotify Developer API in the browser using React. The goal is to be a starting point for frontend devs who want to get set up with Spotify API as quickly as possible. Together, we will be creating a Spotify Web player that displays information about your currently played music from Spotify. We will also demonstrate how to:

  • Register an application with Spotify
  • Authenticate a user and get authorization to access user data
  • Retrieve the data from a Web API endpoint

You can read my in depth blog post that accompanies this code, here: https://medium.com/@joekarlsson/how-to-build-a-spotify-player-with-react-in-15-minutes-7e01991bc4b6

Spotify player

Quickstart

1. Register an application with Spotify

Go to the Dashboard page at the Spotify Developer website, and click on ‘My New App.” Be sure to write down the Client ID from your application.

You can read my in depth blog post that accompanies this code, here: https://medium.com/@joekarlsson/how-to-build-a-spotify-player-with-react-in-15-minutes-7e01991bc4b6

2. Clone example repository

git clone https://github.com/JoeKarlsson/react-spotify-player.git
cd react-spotify-player

3. Update React Spotify Player Config

Change src/congig_example.js to src/config.js and paste your Spotify Clioent ID from step 1 in the clientId feild.

4. Install dependencies & run locally

npm install
npm start # open http://localhost:3000 in your browser

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Contributing

Don't hesitate to create a pull request. Every contribution is appreciated. In development you can start the tests by calling npm test. Checkout our contribution README for more info.

Contributing TLDR;

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Maintainers


Joe Karlsson

License

MIT

Follow Joe Karlsson on Social

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].