/ /healthcheck 두개의 엔드포인트를 제공하는 Restful API 제공
644
이 프로젝트는 Spring Boot를 사용한 간단한 RESTful API 예제입니다.
/healthcheck 엔드포인트: 애플리케이션의 상태를 확인합니다./ 엔드포인트: 홈 페이지 메시지를 반환합니다.이미지 풀:
docker pull [사용자명]/spring-boot-example
컨테이너 실행:
docker run -p 8080:8080 [사용자명]/spring-boot-example
애플리케이션 접근:
http://localhost:8080/healthcheckhttp://localhost:8080/프로젝트 클론:
git clone [저장소 URL]
프로젝트 디렉토리로 이동:
cd spring-boot-example
애플리케이션 빌드 및 실행:
./gradlew bootRun
다음 명령어로 테스트를 실행할 수 있습니다:
./gradlew test
Content type
Image
Digest
sha256:2c8486f9f…
Size
468.4 MB
Last updated
about 2 years ago
docker pull nijin39/spring-boot-example