/CloudMusicPlayer

you can upload your music and play it on the chrome

Primary LanguageJava

CloudMusicPlayer

可以作为:数据库作业/课程设计等软件作业

docker:my docker repository

You can store your music on cloud.You can upload them by url or files. And pay attention, one person can only listen the music which uploaded by himself.That is to say , Bob uploads the music Queen-Bohemian Rhapsody , Alice has never uploaded this file, so Alice cannot listen Bohemian Rhapsody .What a pity ! (I don't want to have unnecessary copyright disputes, so I deliberately designed it like this)

How to run?

  1. It is based on MySql.So you need to create a database called cloud_music_player, and the username is "root" ,the password is "123456!".All tables are located at "db.sql".Also, you can clone the project and change "application. properties" file.
  2. docker run cpeony/cloud-music-player .If you don't have this image ,it will pull from repository automatically.
  3. You can visit "ip:8080/index.html" to see the view.

These are final results.

This is the page when you are not logged in. At this time, you need to click on the top right corner to register or log in.

not logged in view

When you click "登录" button, you will be redirected to login view.

login

This view is to upload music, you can upload files or input url.

upload fils

API doc

api_doc

Others

Here is only backend code, front code click here:https://github.com/PPPkanZTouti3/CloudMusicPlayer

database structure

database structure locates at src/main/resources/static/db.sql, 4 tables:user,backgroundPicture(not implemented),detail and list