在线演示:Demo地址
项目纯属娱乐,用来熟悉一下React开发相关技术栈
![]() |
![]() |
![]() |
|---|---|---|
![]() |
![]() |
![]() |
项目概况:
- 基础技术栈:
react+antd-mobile+react-router+redux+redux-saga - 基于
create-react-app创建,使用dva管理 - 半成品,能用,但目前只有基本的搜索/播放/歌单/排行榜功能
- 自己摸索着一点点写的, 没有参考任何教程,代码/结构可能不太规范
Todo:
- 歌词显示
- 无限下拉列表
- 图片懒加载
antd-mobile换成antd或者其他UI
git clone https://github.com/jaysonlong/react-goudan-music.git
cd react-goudan-music
sudo docker build -t jaysonlong/react-goudan-music .
sudo docker network create goudan-music# 启动容器,监听80端口
sudo docker compose up -d
# 或指定监听端口
sudo PORT=8080 docker compose up -d
# 停止容器
sudo docker compose stop浏览器访问 http://localhost
git clone https://github.com/jaysonlong/react-goudan-music.git
cd react-goudan-music
npm install
npm start后端项目为 @Binaryify 提供的 网易云音乐 API,感谢。
git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
cd reNeteaseCloudMusicApi
npm install
node app.js浏览器访问 http://localhost





