Git Product home page Git Product logo

music-streamingg-system's Introduction

Music-Streaming-System

Fully functional, but feature-limited, version of an online music player.This is a clone web application using the create-react-app. The app consumes data from the Spotify API and tries to mimic the UI and front-end behaviors of the official Spotify web player as much as possible. If a user login to a premium account (due to the limitation of the available API, free accounts cannot do much), user can access certain routes to their own playlists, saved items, etc. and use the app as a remote control play. The system provides personalized use of Spotify web player, so as to provide smooth playing of music with a vast variety of albums and songs present on spotify’s server.

Features

  • Get full view and scroll of your Playlists, Tracks, Albums.
  • Has play and Pause buttons
  • Sign In/Sign Out (OAUTH 2.0)
  • View Your Profile
  • Support Dark Mode
  • Cross Platform functionality
  • Smooth transition between songs
  • Remotely control this app from anywhere (mobile, tablet , desktop)
  • Has an secure authentication method to get token
  • Has a similar interface to Spotify Web.
  • Official Spotify API is used

Snapshots

Login Page Screenshot (56)

Music Player Screenshot (67)

API calls Screenshot (58)

Installation

This project requires node and npm installed globally. Navigate into spotify-clone-client and install the necessary packages

$ npm install

For the project to work properly a .env.local file similar to .env.example is required. go to Spotify Developers API and create your token. Remember that the token will expire in 60 min. To get the client ID and client secret, go to Spotify Developer Dashboard. Create a new app and copy the client ID and client secret in .env.local file. Create a .env.local file and paste the client ID and client secret as the example .env.example.

NEXTAUTH_URL=http://localhost:3000/
NEXT_PUBLIC_CLIENT_SECRET=*******
NEXT_PUBLIC_CLIENT_ID=077ccc46f9d34fc3ac2853da07ff1095
JWT_SECRET=some_secret_code

In the Spotify Developer Dashboard for your app, go to "edit settings" and click "Add redirect URI" and paste the following URL: http://localhost:3000/api/auth/callback/spotify

Screenshot (55)

Now you can run the project locally.

$ npm run dev

music-streamingg-system's People

Contributors

drakshi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.