Giter VIP home page Giter VIP logo

spotify-clone's Introduction

Spotify-clone

A Vue.js project

Screencast:

image image

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

TODO's

  • Need to add recent search to the project, the official site do it simply by store them into the local storage and then retrieve them
  • Need to add recent player to the project, it should also be done by local storage
  • finish the track component, it is not hard to implement it visually, it's just the logic of it that traps me. I don't understand how dose the track component play button works
    This Link seems helpful using the event delegation sort of way. So the

For detailed explanation on how things work, checkout the guide and docs for vue-loader. And I'd better pass an id to the component, so that when the the component emit the event with id, the parent can catch the child's id and play the curresponding music.

2017/8/28 Introduce the Vuex to manage the player's isPlaying state. This is necessary because it easier than passing the prop from parent to child or emit the event from child to parent. I will have three component under the playlist/:playlistId route that will need to be changed when the isPlaying state is change. There are the player control play button, the green button, the track that are currently being played.

spotify-clone's People

Contributors

leofisg avatar

Watchers

athiwatp 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.