Junior — Middle
Could you share the latest projects or tasks you have worked on?
sobes.tech AI
Answer from AI
In one of my recent projects, I worked on developing a REST API in Java using Spring Boot. The task was to create a service for managing orders, where I implemented business logic, integrated with a database via JPA, and ensured security using Spring Security.
I also focused on optimizing application performance, profiling bottlenecks, and implementing caching with Redis.
Example of controller code:
@RestController
@RequestMapping("/orders")
public class OrderController {
@Autowired
private OrderService orderService;
@GetMapping("/{id}")
public ResponseEntity<Order> getOrder(@PathVariable Long id) {
Order order = orderService.findById(id);
return ResponseEntity.ok(order);
}
}