Lightweight music player construction 1. Music player Construction
Lightweight music player build 1
I haven't written anything for a long time, including the blog I am currently using. I can only say that it is a semi-finished product. I haven't maintained it for more than half a year. Then I can click it to find a lot of problems. I want to write a lightweight music player. It is a bit similar to Douban FM. The current positioning is relatively simple (because I am not very familiar with some of the technology stacks) and may be changed later.
Currently, the following things are used:
MySQL stores user information
NodeJs server backend Language
The Express server framework, or koa. Tentative Express
VueJs front-end MVVM framework
The Vue bucket includes VueRouter/Vuex/VueResource.
APIs use an API Tool for Netease cloud music on github. Of course, you may also capture data yourself.
Webpack packaging Tool
Currently, the entire small application is divided into three pages, from which any page can jump to the other two pages. The first page is the playback page, which generally looks like the music playing page of Netease cloud music or the former Douban FM page. Including switching functions of songs, liking, dislike, progress (uncertain, remember that Douban FM has not been adjusted), and comments (this is difficult to achieve at last ). The second page is the selection and recommendation page of the FM channel, and the third page is the user page, including favorite songs and favorite FM channels. It may take about one month to complete. The name of this player is gakki fm.