Month 3 Task
Month 3 Task
SPRING BOOT
Week 9: Spring Boot RESTful API Development
• Theory:
o Building RESTful APIs with Spring Boot
o HTTP Methods (GET, POST, PUT, DELETE), @RestController, @RequestMapping
• Hands-On:
o Create basic REST API endpoints
o Handle HTTP requests and responses
• Client Project:
o Task Management API: Build an API with basic CRUD functionality.
Week 10: Spring Data JPA and Database Integration
• Theory:
o Introduction to Spring Data JPA for database interaction
o Using @Entity and @Repository annotations
o Implementing CRUD operations with Spring Data JPA
• Hands-On:
o Set up a Spring Boot project with database connection
o Use Spring Data JPA for database operations
• Client Project:
o Task Management API with MySQL: Store tasks in a MySQL database.
Week 11: Spring Security and Authentication
• Theory:
o Introduction to Spring Security
o Basic Authentication and Authorization
o Setting up JWT-based authentication
• Hands-On:
o Implement basic authentication for Spring Boot
o Secure endpoints using Spring Security
o Integrate JWT for token-based authentication
• Client Project:
o Task API with User Authentication: Secure the API with JWT authentication.
Week 12: Testing with JUnit and Mocking with Mockito
• Theory:
o Introduction to Unit Testing with JUnit
o Mocking dependencies using Mockito
o Writing unit tests for Spring Boot applications
• Hands-On:
o Write unit tests for REST API and database operations
o Use Mockito to mock service layers
• Client Project:
o Test Task Management API: Implement unit tests for the API.