The Back End<\/a><\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"You know those the little notification windows that pop up in the top right (Mac) or bottom right (Windows) corner […]<\/p>\n","protected":false},"author":245128,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0","_share_on_mastodon_status":"%title% %permalink%"},"categories":[4],"tags":[575,1330],"class_list":["post-259344","post","type-post","status-publish","format-standard","hentry","category-articles","tag-firebase","tag-push-notifications"],"acf":{"show_toc":"No"},"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":259352,"url":"https:\/\/css-tricks.com\/implementing-push-notifications-back-end\/","url_meta":{"origin":259344,"position":0},"title":"Implementing Push Notifications: The Back End","author":"Pascal Klau (@pascalaoms)","date":"August 23, 2017","format":false,"excerpt":"In the first part of this series we set up the front end with a Service Worker, a `manifest.json` file, and initialized Firebase. Now we need to create our database and watcher functions. Article Series: Setting Up & Firebase The Back End (You are here) Creating a Database Log into\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":305691,"url":"https:\/\/css-tricks.com\/creating-scheduled-push-notifications\/","url_meta":{"origin":259344,"position":1},"title":"Creating Scheduled Push Notifications","author":"Nico Martin","date":"April 8, 2020","format":false,"excerpt":"Scheduled is the key word there \u2014 that\u2019s a fairly new thing! When a push notification is scheduled (i.e. \u201cTake your pill\u201d or \u201cYou\u2019ve got a flight in 3 hours\u201d) that means it can be shown to the user even if they\u2019ve gone offline. That's an improvement from the past\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/11\/push-api-button.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/11\/push-api-button.jpg?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/11\/push-api-button.jpg?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/11\/push-api-button.jpg?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/11\/push-api-button.jpg?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":335185,"url":"https:\/\/css-tricks.com\/firebase-crash-course\/","url_meta":{"origin":259344,"position":2},"title":"Firebase Crash Course","author":"David East","date":"March 9, 2021","format":false,"excerpt":"This article is going to help you, dear front-end developer, understand all that is Firebase. We\u2019re going to cover lots of details about what Firebase is, why it can be useful to you, and show examples of how. But first, I think you\u2019ll enjoy a little story about how Firebase\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/firebase-logo-icon.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/firebase-logo-icon.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/firebase-logo-icon.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/firebase-logo-icon.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/firebase-logo-icon.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":305248,"url":"https:\/\/css-tricks.com\/building-a-real-time-chat-app-with-react-and-firebase\/","url_meta":{"origin":259344,"position":3},"title":"Building a Real-Time Chat App with React and Firebase","author":"Deven Rathore","date":"March 23, 2020","format":false,"excerpt":"In this article, we\u2019ll cover key concepts for authenticating a user with Firebase in a real-time chat application. We\u2019ll integrate third-party auth providers (e.g. Google, Twitter and GitHub) and, once users are signed in, we\u2019ll learn how to store user chat data in the Firebase Realtime Database, where we can\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/react-firebase-chat.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/react-firebase-chat.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/react-firebase-chat.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/react-firebase-chat.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/react-firebase-chat.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":255231,"url":"https:\/\/css-tricks.com\/intro-firebase-react\/","url_meta":{"origin":259344,"position":4},"title":"Intro to Firebase and React","author":"Simon Bloom","date":"June 2, 2017","format":false,"excerpt":"Let's take a look at building something using Firebase and React. We'll be building something called Fun Food Friends, a web application for planning your next potluck, which hopefully feels like something rather \"real world\", in that you can imagine using these technologies in your own production projects. The big\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/06\/reactfirebase.png?fit=1200%2C647&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/06\/reactfirebase.png?fit=1200%2C647&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/06\/reactfirebase.png?fit=1200%2C647&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/06\/reactfirebase.png?fit=1200%2C647&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2017\/06\/reactfirebase.png?fit=1200%2C647&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":237855,"url":"https:\/\/css-tricks.com\/building-a-jekyll-site-part-3-of-3\/","url_meta":{"origin":259344,"position":5},"title":"Building a Jekyll Site \u2013 Part 3 of 3: Creating a Firebase-Backed Commenting System","author":"Mike Neumegen","date":"February 11, 2016","format":false,"excerpt":"The following is a guest post by Mike Neumegen from CloudCannon. This final post is about adding some functionality to a Jekyll site that isn't possible: comments. That's because Jekyll has no backend component in which to save comments. But, we don't even need that if we do it entirely\u2026","rel":"","context":"In "Articles"","block_context":{"text":"Articles","link":"https:\/\/css-tricks.com\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/259344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/245128"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=259344"}],"version-history":[{"count":7,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/259344\/revisions"}],"predecessor-version":[{"id":259786,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/259344\/revisions\/259786"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=259344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=259344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=259344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}