官术网_书友最值得收藏!

What is Firebase?

Building a progressive web app is, for the most part, a frontend process. PWAs care little for how they consume data from a backend API (unless it impedes performance, of course). We want to keep the backend setup for our application minimal; for that, we turn to Firebase.

Firebase is a project by Google designed to help developers build apps without worrying about backend infrastructure. It operates on the freemium model, based on the amount of requests your backend has to respond to as well as the amount of storage you need. For our purposes, it is the perfect fit for quickly developing a small prototype. When our app scales, the Chatastrophe executive board assures us, "money won't be an issue."

What does Firebase provide? Of interest to us is a database, a hosting solution, and built-in authentication. Beyond that, it also offers something called Cloud Functions, which are snippets of code automatically run in response to certain events. We'll be working with Cloud Functions once we add push notifications to our application. For now, we want to add some authentication to our login form so that users can sign up and log in to Chatastrophe.

If you have a Google account (via Google Plus or Gmail, for example) you can log in to Firebase with those credentials, or create a new account; that's all we need to get started.

主站蜘蛛池模板: 云阳县| 镇江市| 舟曲县| 于都县| 云林县| 巩义市| 吴堡县| 松阳县| 玛沁县| 绥滨县| 武安市| 哈尔滨市| 安西县| 老河口市| 吉林省| 偃师市| 达孜县| 灌南县| 锦州市| 铜鼓县| 什邡市| 砀山县| 尤溪县| 周口市| 左贡县| 嘉义市| 伊春市| 鹤庆县| 全椒县| 东丽区| 镶黄旗| 旬阳县| 洞头县| 垫江县| 金山区| 中宁县| 梁河县| 绥芬河市| 楚雄市| 清新县| 广丰县|