# Phishing :fishing_pole_and_fish: Gio & Jack --- ## us and firebase ![fish](https://media.giphy.com/media/yjKBPhnrRKKHu/giphy.gif) --- ## all the firebase options ![](https://media.giphy.com/media/CT0nJAfdiKrUQ/giphy.gif) --- ## thinking we're done with the hard work and then firebase ![](https://media.giphy.com/media/xT0BKGkoBW46ip9OvK/giphy.gif) --- ## us at lunchtime ![](https://media.giphy.com/media/ai0YLvAS4kbTy/giphy.gif) --- ## Oli sending us some code that worked straight away ![](https://media.giphy.com/media/12VU2jlmrjzC6Y/giphy.gif) --- # #TIL If using ```javascript=100 const db = firebase.firestore(); ``` you will need: ```javascript=1 import firebase from '../firebase'; import 'firebase/firestore'; ``` --- I need to learn more about noSQL --- Database > rules: ```javascript= allow read, write: if true; ``` is important! --- Posting a document in a collection (?): ```javascript=100 db.collection("survey").doc(user.email).set(form); ``` --- https://www.youtube.com/watch?v=m_u6P5k0vP0
{"metaMigratedAt":"2023-06-15T09:51:31.232Z","metaMigratedFrom":"Content","title":"Phishing :fishing_pole_and_fish:","breaks":true,"contributors":"[{\"id\":\"fc28ac9f-05b4-4c0c-ba0f-978abbf9d995\",\"add\":468,\"del\":65},{\"id\":\"b0c18fac-267d-47b1-9eaf-ccae71a12c3d\",\"add\":711,\"del\":66}]"}
    243 views
   Owned this note