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:
33
.gitignore
vendored
Normal file
33
.gitignore
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
HELP.md
|
||||
target/
|
||||
.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**/target/
|
||||
!**/src/test/**/target/
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
!**/src/main/**/build/
|
||||
!**/src/test/**/build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
Reference in New Issue
Block a user