GithubHelp home page GithubHelp logo

wenyingxin / listen-music Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xnal/listen-music

0.0 2.0 0.0 366 KB

使用React开发的音乐WebApp,学习React之用。使用QQ音乐的API,UI参考QQ音乐。

License: MIT License

JavaScript 80.34% HTML 0.88% CSS 18.79%

listen-music's Introduction

前言

因为之前工作的原因先学习了Vue.js,但一直对React.js都比较感兴趣,特别是React Native,对于跨平台的方案想学习下如何去开发。而且公司也在开始逐渐使用RN来结合原生APP进行开发,但不是很急,所以还是打算先学下React.js。

界面主要参考QQ音乐的界面来开发,数据来源也是使用QQ音乐的api,大部分接口通过JSONP来访问,其中获取歌单详情获取歌曲歌词两个接口需要通过后端代理转发来实现,此处使用Node进行了简单的开发。

在线访问

  1. 直接访问http://music.tdon.site(PC访问时请打开调试,使用手机模式访问,效果更佳)

  2. 手机扫码直接访问

    二维码

技术栈

React.js + React-Router + Redux + ES6 + Webpack

运行项目

git clone https://github.com/XNAL/listen-music.git

cd listen-music

npm install

node proxyServer.js  // (获取歌单和歌词使用Node进行代理转发)

npm start

// 访问 http://localhost:3000

效果图

  1. 推荐

    推荐

  2. 歌手

    歌手

  3. 歌手详情

    歌手详情

  4. 排行榜

    排行榜

  5. 排行榜详情

    排行榜详情

  6. 搜索

    搜索

  7. 搜索结果

    搜索结果

listen-music's People

Contributors

xnal avatar

Watchers

James Cloos avatar 温英新 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.