프로젝트 준비/웹 다이어리

React - FireBase로 서버&DB 해결

limdoohee 2022. 12. 19. 22:39

항상 프로젝트 할때마다 골치 썩는 백엔드는 node로 많이 진행해왔지만, 이번 프로젝트는 NoSQL을 활용해도 괜찮을 것 같아서 FireBase로 한 방에 해결했다.

 

특히 머리가 아팠던 것은 보통 8버전에 익숙해져있어 9버전은 많이 사용하지 않는다는 것.

하지만, 어쩌겠는가. 올드버전은 언제까지나 올드버전일 뿐.

항상 업그레이드된 인생을 꿈꾸기 때문에 최신버전으로 설치....(이 때부터 무지하게 꼬임)

 

나는 그렇게 친절한 사람이 아니라 다른분들처럼 URL, 캡쳐 첨부하면서 블라블라 설명까지는 못한다.

FireBase init이나 설정은 버전 상관없이 거의 동일하고 다른 사이트 참고할 것 많으니,

대신 아래 FireStore 구축시에 도움 많이 받았던 URL 공유한다. (특히, 9버전에 도움 됨)

https://www.freecodecamp.org/news/how-to-use-the-firebase-database-in-react/

 

How to Use Cloud Firestore in a React App

Firebase provides some great services like NoSQL databases, authentication, cloud storage, and much more. In this tutorial, we will learn how to use your React application to read and add data to your Firebase database. To demonstrate this, we will learn h

www.freecodecamp.org

 

반응형