My first backend microservices application as I transition to SDE.
Progress:
Nov 3:
- Learnt about Frontend, CRUD Operations, REST API, Backend (Java, Spring Boot), JPA, Lombok, Postman, JWT, CI/CD, Docker, Microservices.
- Initialized the project and created a Hello Controller(/hello).
- Added
com/example/taskmanager/:/model/Task.java(ATaskclass mapped to DB table using JPA annotation)/repository/TaskRepository.java(To perform database handling directly usingJpaRepositoryinterface methods, which handles the SQL queries for common CRUD operations internally)/controller/TaskController.java(Different CRUD operations functionalities via registered APIs)TaskManagerApplication.java(Performs booting and setting up everything)
Nov 5:
- Studied the JPA annotations: @Entity, @Data, @NoArgsConstructor, @AllArgsConstructor, @Id, @GeneratedValue, @RestController, @RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @RequestBody, @PathVariable etc...
Nov 6:
- Added
com/example/taskmanager/:service/TaskService.Java(Separated the service part from controller to interact with repository)
Nov 7:
- Tested the functionalities using Postman
- Studied MVC Architecture
