Build a Full‑Featured Music Website with Vue.js and Spring Boot – Step‑by‑Step Guide
This tutorial walks you through creating a complete music‑streaming site using Vue.js for the front‑end and Spring Boot/MyBatis for the back‑end, covering core features, required resources, configuration, and deployment commands in a clear, practical manner.
Project Overview
The music website project uses Vue.js for the front‑end (including the user‑facing site and admin panel) and a Spring Boot + MyBatis (SSM) stack for the back‑end, with MySQL as the data store.
Key Features
Basic functionalities include online music playback, user management, song library, playlists, artist information, lyric display, and comprehensive admin capabilities.
Deployment Steps
1. Clone the Repository
git clone https://github.com/Yin-Hongwei/music-website.git2. Download Static Resources
The project requires music files and cover images. Place the downloaded data folder contents into the music-server directory. These resources are available via a Baidu Cloud link.
3. Configure the Database
Create the database by importing tp_music.sql (found in music-website/music-server/sql) using your preferred IDE or client.
4. Update Backend Configuration
Set the correct MySQL username and password.
Adjust the resource loading path to ensure static assets are found.
5. Start the Services
The project follows a front‑end/back‑end separation model; the back‑end must run before the front‑ends.
Start Backend
// Option 1
./mvnw spring-boot:run
// Option 2 (requires Maven installed)
mvn spring-boot:runStart Front‑End (User Site)
cd music-client
npm install
npm run devStart Admin Panel
cd music-manage
npm install
npm run devProject Screenshots
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java High-Performance Architecture
Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
