feat: Initialize Spring Boot project with user authentication

- Add Maven Wrapper for easier project setup
- Create pom.xml with Spring Boot dependencies for web, data JPA, and security
- Implement main application class RestUserAuthApplication
- Configure security settings with SecurityConfig class
- Create AuthController for user authentication and registration
- Implement UserController to retrieve current user information
- Define DTOs for authentication requests and responses
- Create User and Role models for user management
- Implement UserRepository for database interactions
- Add JWT authentication filter and token provider for secure API access
- Create CustomUserDetailsService for loading user-specific data
- Configure application properties for database and JWT settings
- Add basic test class for application context loading
- Include HTTP request examples for user registration and login in tests
This commit is contained in:
2025-06-06 07:37:01 +00:00
commit 083d9efe9a
22 changed files with 1109 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
/mvnw text eol=lf
*.cmd text eol=crlf