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:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/mvnw text eol=lf
|
||||
*.cmd text eol=crlf
|
Reference in New Issue
Block a user