Category: Uncategorised

Spring Boot Tutorial : Part 1 REST

Annotation Meaning @RestController Defines Class that provides REST APIs endpoints methods @RequestMapping(“/myapp”) Defines endpoint for the overall API Class @GetMapping(“/info”) @GetMapping(“/students/{studentId}”) Defines Method that provides API endpoint implementation (@PathVariable int studentId) Defines Variable containing data in endpoint link

Docker Commands Cheat Sheet

Part 1 Docker Containers Object Type Command Type Command Meaning Container List docker psdocker ps -a List all running containers -a : List all containers – including stopped ones Container Create + Start docker run {image-name}docker run {imageName:tagName}docker run -flag image Create and start a new container based on image IMAGENAME (or use the image […]