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.

Java High-Performance Architecture
Java High-Performance Architecture
Java High-Performance Architecture
Build a Full‑Featured Music Website with Vue.js and Spring Boot – Step‑by‑Step Guide

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.git

2. 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:run

Start Front‑End (User Site)

cd music-client
npm install
npm run dev

Start Admin Panel

cd music-manage
npm install
npm run dev

Project Screenshots

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DeploymentSpring BootmysqlVue.jsmusic websiteFull-Stack
Java High-Performance Architecture
Written by

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.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.