2025/06/02 2

React + Spring Boot 배포하기(3) - PWA(Progressive Web App)

또 시간이 남아돌아서 웹앱으로도 한번 만들어볼까 싶어서 PWA(Progressive Web App) 먼저해봐야겠다. PWA를 위해 확인할 파일은 아래 네가지이다.index.htmlindex.jsmanifest.jsonpublic/icons/ 폴더 내 PWA용 아이콘 파일index.js 에 serviceWorkerRegistration 의 register() 추가,index.html 에 manifest.json link확인. { "short_name": "KBO날씨", "name": "KBO Ballpark Weather", "icons": [ { "src": "icons/BallparkWeather.png", "type": "image/png", "sizes": "..

Java/KBO Weather 2025.06.02

React + Spring Boot 배포하기(2) - vercel / render / railway

자 이제 다시 배포단계로 돌아가서 vercel로 프론트를, render로 백엔드를 배포해보자 1. 프론트엔드vercel에서 깃허브 연동후 import 눌러 root 폴더를 프로젝트의 frontend 폴더로 잡아주고 deployment!후후 무난하게 성공 render에서 빌드실패가 계속나서 챗지에 물어보니 권한문제인듯하다고함. 권한부여 후 재진행 근데 또실패 ㅋㅋㅋ 나를 어르고달래는 챗지...render 대신 railway로 배포해봐야겠다.루트디렉토리 설정 후 재빌드 드디어 성공 이제 생성된 도메인을가지고 vercel로 가서 붙이면된다는데,,..... 수동생성만있는데 이게 맞아..? 암튼 버튼눌러서 생성 ~ vercel 환경변수에 해당 도메인 추가 완성! https://kbo-ballpark-weath..

Java/KBO Weather 2025.06.02