Skip to content

Commit

Permalink
Cheat sheet about Firebase cli devsonket#654
Browse files Browse the repository at this point in the history
  • Loading branch information
mah-shamim committed Jul 31, 2022
1 parent 825784e commit c56a584
Showing 1 changed file with 30 additions and 51 deletions.
81 changes: 30 additions & 51 deletions data/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"title": "প্রমাণীকরণ করা হচ্ছে (Authenticating)",
"items": [
{
"definition": "",
"code": "FB = new Firebase('https://xxx.firebase.io')\nFB.auth(TOKEN, (err, result) => { ···})\n"
},
{
"definition": "",
"code": "FB.authAnonymously(···)\nFB.authWithPassword(···)\nFB.authWithOAuthPopup(···)\nFB.authWithOAuthToken(···)\n"
}
]
Expand All @@ -22,89 +20,70 @@
"title": "জিজ্ঞাসাবাদ (Querying)",
"items": [
{
"code": "কোড"
},
{
"code": "কোড"
},
{
"code": "কোড"
},
"code": "Users = FB.child('users')\nUsers\n .startAt(1000)\n .limit(50)\n .equalTo(priority, [name])\n .on 'child_added', (snap) -> ···"
}
]
},
{
"title": "তালিকাগুলি (Lists)",
"items": [
{
"code": "কোড"
"code": "Posts = FB.child('posts')"
},
{
"code": "কোড"
"code": "post = Posts.push({ title: \"How to do things\", author: \"alan\" })"
}
]
},
{
"title": "টাইটেল",
"title": "ব্যবহার (Using)",
"items": [
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"code": "Users = FB.child('users')"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"definition": "তৈরি করুন",
"code": "user = Users.push(first: \"Frank\", last: \"Sinatra\")\n"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"definition": "পুনরুদ্ধার করুন",
"code": "user = Users.child('alan') // gets `users/alan`"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"definition": "হালনাগাদ করুন",
"code": "user.set(first: \"Miles\", last: \"Davis\")"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
}
]
},
{
"title": "টাইটেল",
"items": [
"code": "user.update(first: \"Miles\")"
},
{
"code": "কোড"
"code": "user.setWithPriority({ ··· }, priority)"
},
{
"code": "কোড"
"definition": "ধ্বংস করুন",
"code": "user.remove()"
},
{
"code": "কোড"
"definition": "প্রাপ্তি (Getting)",
"code": "user.name() // primary id"
},
{
"code": "কোড"
"code": "user.once('value', (snap) => {\n snap.name() // primary id\n snap.val() // value\n}, (err) => {\n ···\n})"
},
{
"code": "কোড"
"definition": "ট্রাভার্সাল (traversal)",
"code": "user.parent()"
}
]
},
{
"title": "টাইটেল",
"title": "তথ্যসূত্র",
"items": [
{
"definition": "কাজের বিবরণ",
"code": "কোড"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"code": "https://www.firebase.com/docs/web/api/"
},
{
"definition": "কাজের বিবরণ",
"code": "কোড"
"code": "https://www.firebase.com/docs/web/recipes.html"
}
]
}
Expand Down

0 comments on commit c56a584

Please sign in to comment.