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

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.

主站蜘蛛池模板: 江陵县| 漯河市| 鄱阳县| 法库县| 平和县| 兴业县| 禹城市| 高雄市| 镇康县| 九寨沟县| 工布江达县| 宁陵县| 绥江县| 石景山区| 佛坪县| 枣庄市| 吉林省| 鄯善县| 高雄县| 赫章县| 舞阳县| 阿拉尔市| 麻江县| 将乐县| 邢台县| 许昌县| 托克逊县| 修武县| 延长县| 大田县| 冕宁县| 泾阳县| 香河县| 峨眉山市| 朝阳区| 蚌埠市| 滕州市| 诸城市| 新田县| 南充市| 比如县|