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

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.

主站蜘蛛池模板: 廊坊市| 册亨县| 张家港市| 永康市| 磴口县| 十堰市| 宁津县| 临沧市| 泽普县| 洞口县| 双柏县| 大悟县| 积石山| 佳木斯市| 晋宁县| 沙洋县| 梅河口市| 连州市| 开阳县| 霍山县| 南涧| 三亚市| 镇康县| 财经| 东安县| 通榆县| 贞丰县| 晋中市| 商河县| 钟山县| 邯郸市| 丰城市| 定西市| 静海县| 杨浦区| 洪江市| 中西区| 龙南县| 沾化县| 梁山县| 方正县|