# 学生管理系统后端 **Repository Path**: miaohuairui/student-server ## Basic Information - **Project Name**: 学生管理系统后端 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-03-03 - **Last Updated**: 2024-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Spring Boot Service with Mysql to Login Reference: https://www.bezkoder.com/spring-boot-jwt-authentication/ https://github.com/bezkoder/spring-boot-spring-security-jwt-authentication Dependency: mysql How to run local: mvn spring-boot:run Build jar mvn spring-boot:build-image https://www.heidisql.com/ https://sqlitebrowser.org/ cd C:\teach\java-server\target java -jar -Dfile.encoding=utf-8 teach-1.0-SNAPSHOT.jar insert into user_type ( name,id) values( 'ROLE_ADMIN',1); insert into user_type ( name,id) values( 'ROLE_USER',2); insert into person (per_num, per_name,per_type,person_id) values( 'admin','admin','0',1); insert into user (user_name, password,person_id,user_type_id,user_id) values( 'admin','$2a$10$FV5lm..jdQWmV7hFguxKDeTrGyiWg1u6HYD2QiQc0tRROrNtSQVOy',1,1,1);