Initial commit of io8 project
This commit is contained in:
		
							parent
							
								
									d2d30f6619
								
							
						
					
					
						commit
						d1cef9ed75
					
				| @ -8,24 +8,24 @@ Set up the basic project structure and environment. | ||||
| - [x] Create `UserRepository` for database interactions. | ||||
| 
 | ||||
| ### 1.2 Implement User Registration | ||||
| - [ ] Create `RegisterRequest` DTO. | ||||
| - [ ] Create `AuthResponse` DTO. | ||||
| - [ ] Add registration method to `AuthController`. | ||||
| - [ ] Implement password hashing in `UserService`. | ||||
| - [ ] Save user to `UserRepository`. | ||||
| - [x] Create `RegisterRequest` DTO. | ||||
| - [x] Create `AuthResponse` DTO. | ||||
| - [x] Add registration method to `AuthController`. | ||||
| - [x] Implement password hashing in `UserService`. | ||||
| - [x] Save user to `UserRepository`. | ||||
| 
 | ||||
| ### 1.3 Implement User Login | ||||
| - [ ] Create `LoginRequest` DTO. | ||||
| - [ ] Add login method to `AuthController`. | ||||
| - [ ] Validate user credentials in `UserService`. | ||||
| - [ ] Generate JWT token upon successful login in `UserService`. | ||||
| - [x] Create `LoginRequest` DTO. | ||||
| - [x] Add login method to `AuthController`. | ||||
| - [x] Validate user credentials in `UserService`. | ||||
| - [x] Generate JWT token upon successful login in `UserService`. | ||||
| 
 | ||||
| ### 1.4 Implement Password Reset Initiation | ||||
| - [ ] Create `PasswordResetRequest` DTO. | ||||
| - [ ] Add password reset initiation method to `AuthController`. | ||||
| - [ ] Generate a unique password reset token in `UserService`. | ||||
| - [ ] Store the reset token with an expiration time in the database. | ||||
| - [ ] Send password reset email to the user (placeholder for now). | ||||
| - [x] Create `PasswordResetRequest` DTO. | ||||
| - [x] Add password reset initiation method to `AuthController`. | ||||
| - [x] Generate a unique password reset token in `UserService`. | ||||
| - [x] Store the reset token with an expiration time in the database. | ||||
| - [x] Send password reset email to the user (placeholder for now). | ||||
| 
 | ||||
| ### 1.5 Configure Security (JWT) | ||||
| - [ ] Configure Spring Security for JWT authentication. | ||||
| @ -116,7 +116,7 @@ Develop the core functionality for creating, reading, updating, and deleting not | ||||
| - [ ] Update `schema.sql` or use JPA to generate/update the note table schema. | ||||
| 
 | ||||
| ## Current Task Status | ||||
| **Currently Working On:** Task 1.2 - Implement User Registration (Create RegisterRequest DTO) | ||||
| Currently Working On: Task 1.2 - Implement User Registration (Save user to UserRepository) | ||||
| **Completed Tasks:** Task 2 - Integrate Frontend with Backend Authentication [FRONTEND] | ||||
| 
 | ||||
| ## Task Completion Guidelines | ||||
|  | ||||
| @ -11,4 +11,5 @@ import lombok.NoArgsConstructor; | ||||
| @AllArgsConstructor | ||||
| public class AuthResponse { | ||||
|     private String token; | ||||
| } | ||||
|     private String username; | ||||
| } | ||||
| @ -13,4 +13,4 @@ public class RegisterRequest { | ||||
|     private String username; | ||||
|     private String email; | ||||
|     private String password; | ||||
| } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 user
						user