This is a mock music player of music.163.com, api provided by Binaryify's NeteaseCloudMusicApi inspired by sanyuan0704's react-cloud-music, his react-hooks turtorial is also recommended(in Chinese) on juejin.im. Bascially all the animation is hand-rolled, if you looking for example about CSS trasition, this project might be helpful.
- React hooks
- Styled-component
- Immutable.js
- Better-scroll
- Transition-group
npm install- change baseUrl to where NeteaseCloudMusicApi is running
npm start
npm run buildnpm installexpress, compression and pm2, thennode start ./server.jsat same folder with /build- If path error, try remove all /cloud-music in build/index.html
- to deploy with github-pages, run
npm run deployreact-gh-pages
Note: You can npm start NeteaseCloudMusicApi at localhost or pm2 start npm -- start when deloying.