본문 바로가기

firebase3

How to Set Up CORS When Using Firebase Hosting with a Spring Boot API When deploying your frontend with Firebase Hosting, you’ll get a URL like this:https://your-project-id.web.appMeanwhile, your Spring Boot backend might be hosted at:http://your-server.comSince these are different origins, browsers will block requests from your frontend to your backend unless you explicitly allow them. That’s where CORS (Cross-Origin Resource Sharing) comes in.⚙️ How to Enable CO.. 2025. 7. 16.
How to Deploy a Vue.js Web App with Firebase Hosting (Step-by-Step Guide) In this guide, I’ll walk you through deploying a Vue.js frontend to Firebase Hosting, turning it into a live, publicly accessible website.📦 1. Create a Firebase ProjectGo to the Firebase Console.Click Add project (e.g., dart-entity-generator).Enable the Hosting feature:- From the left menu, go to Build > Hosting- Click Get Started🛠️ 2. Install Firebase CLIInstall the Firebase CLI globally usin.. 2025. 7. 16.
Vue Firebase 배포 방법 (Vite 기반 실전 예제) 개발한 프론트엔드를 실제로 배포해서 누구나 접속할 수 있는 웹사이트로 만들기까지의 과정을 기록합니다.이 글은 Vue.js로 개발한 웹앱을 Firebase Hosting을 통해 배포한 실전 과정입니다. 📦 1. Firebase 프로젝트 생성하기Firebase Console에 접속새 프로젝트 생성 (예: dart-entity-generator)Hosting 기능 활성화왼쪽 메뉴 → Build > Hosting → 시작하기🛠️ 2. Firebase CLI 설치터미널에서 Firebase CLI를 설치합니다.bashnpm install -g firebase-tools 설치 확인:bashfirebase --version 🔐 3. 로그인 및 프로젝트 연결bash firebase login→ 브라우저가 열리면.. 2025. 7. 14.