Git Product home page Git Product logo

react-music's Introduction

React Music

基于 React + Vite + TypeScript 的仿网易云音乐播放器,使用一行 npm 命令即可在本地运行前后端。

预览

preview

Todo

  • 脚手架搭建
  • NodeJS代理解决API接口跨域问题
  • 音乐播放器
    • 音乐可视化
    • 开始/暂停
    • 上一首 / 下一首
    • 音量设置
    • 循环模式设置
    • 播放列表
      • 清空播放列表
      • 删除播放列表中的某首歌
      • 下载
      • 添加到歌单
    • 歌词展示
      • 歌词随进度滚动
    • 进度条
      • 歌曲播放进度展示
      • 拖动进度
  • 发现音乐页面
    • 图片轮播
    • 推荐歌单
    • 最新音乐
  • 歌单详情页面
    • 歌单信息
    • 歌曲列表
    • 评论列表
  • 我的歌单页面
    • 查看创建与收藏的歌单
    • 删除歌单
  • 歌曲详情页面
    • 歌曲信息
    • 歌曲评论
  • 私人FM页面
    • 简化版播放器
  • 专辑页面
    • 专辑信息
    • 歌曲列表
    • 评论
  • 歌手页面
    • 热门作品
    • 歌手介绍
    • 歌手专辑
  • 搜索页面(待优化)
  • 用户页面
  • 视频页面

安装

$ git clone --depth=1 https://github.com/Lisianthus-A/react-music.git

$ npm install

运行

$ npm run start

运行命令后,在浏览器地址栏输入 localhost:4000 即可打开页面。前端默认运行在 4000 端口,后端在 4001 端口。

可在 ./vite.config.ts./server/app.js 中修改默认端口。

API接口

API 来自 NeteaseCloudMusicApi

API文档

License

MIT License

react-music's People

Contributors

dependabot[bot] avatar lisianthus-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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