// Firebase SDK 라이브러리 가져오기
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-app.js";
import { getFirestore } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore.js";
import { collection, addDoc } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore.js";
import { getDocs } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore.js";
// Firebase 구성 정보 설정
const firebaseConfig = {
본인 설정 내용 채우기
};
// Firebase 인스턴스 초기화
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
'부가정보' 카테고리의 다른 글
README.md (0) | 2024.05.16 |
---|---|
yarn: command not found (0) | 2024.05.14 |
로컬 스토리지 (0) | 2024.04.30 |
JSON 형식 (0) | 2024.04.30 |
fetch API 요청 > .then((data) => {} 으로 바꿔쓰는 이유 (0) | 2024.04.30 |