https://docs.microsoft.com/ko-kr/azure/developer/java/toolkit-for-intellij/create-hello-world-web-app

01. 실행환경 청사진

02. 개요

        


03. 사전 조건

03. Spring Boot Application 준비

  • 프로젝트를 다운로드 받고 압축을 해제 합니다.
    • c:\workspaces\demo
  • IntelliJ에서 프로젝트를 Open or Import로 불러 옵니다.

04. HelloController.java 코딩

package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/")
    public String index(){
        return "Hello Sanse.";
    }
}

05. Application 실행


06. Azure Login in IntelliJ

07. Spring Boot Application 배포

07-01. Azure Web Apps Resource 생성 및 Deploy

07-02. Azure URL을 통해 Spring Boot Application 호출