Skip to content

Conversation

@Isga1
Copy link
Owner

@Isga1 Isga1 commented Jan 13, 2026

Motivation

  • Modernize the project by replacing the legacy servlet + JDBC stack with a Spring Boot application scaffolded for REST services.
  • Introduce MyBatis-based persistence to simplify SQL mapping and paging for staff management.
  • Harden authentication by switching password handling to BCrypt and documenting DB schema and admin creation.
  • Provide a clean API surface (auth + staff CRUD) suitable for modern clients.

Description

  • Replace pom.xml to use Spring Boot, add application.yml, and include mybatis-spring-boot-starter and jbcrypt dependencies.
  • Add application entry point UserManagerApplication and new REST controllers AuthController and StaffController with DTOs under src/main/java/com/example/dto.
  • Implement service layer and MyBatis mappers (AdminMapper, StaffMapper) with mapper XMLs in src/main/resources/mappers and a paginated StaffServiceImpl implementation.
  • Remove legacy servlet/JDBC helpers and replace PasswordUtil to use BCrypt, add src/main/resources/schema.sql, and update README.md with setup instructions.

Testing

  • No automated tests were executed for this change.

Codex Task

@netlify
Copy link

netlify bot commented Jan 13, 2026

Deploy Preview for bucolic-biscotti-c54076 failed.

Name Link
🔨 Latest commit 6d219ad
🔍 Latest deploy log https://app.netlify.com/projects/bucolic-biscotti-c54076/deploys/69662c4be7f2ba0008461318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants