# test-springboot **Repository Path**: hexin1998/test-springboot ## Basic Information - **Project Name**: test-springboot - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-19 - **Last Updated**: 2026-05-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Student Course Demo Spring Boot + MyBatis-Plus + Vue + Element Plus demo for querying student scores with a three-table join. ## Project Structure ```text student-course-demo/ backend/ Spring Boot + MyBatis-Plus API frontend/ Vue 3 + Element Plus page ``` ## Database Create and seed the MySQL database: ```bash mysql -uroot -p < backend/src/main/resources/db/init.sql ``` The script creates database `demo` and the tables `student`, `course`, and `sc`. ## Backend Update `backend/src/main/resources/application.yml` if your MySQL username or password is different. The default values are `root/123456`. ```bash cd backend mvn spring-boot:run ``` API: - `GET http://localhost:8080/api/scores/page?page=1&size=10` ## Frontend ```bash cd frontend npm install npm run dev ``` Open the URL shown by Vite, usually `http://localhost:5173`.