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

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.

主站蜘蛛池模板: 宜兴市| 东城区| 大城县| 靖远县| 遂平县| 保定市| 常德市| 丰都县| 孟州市| 黑水县| 麻江县| 宝坻区| 淮安市| 滨海县| 张家港市| 余江县| 松阳县| 偏关县| 射阳县| 方正县| 清徐县| 东港市| 阳山县| 潢川县| 襄汾县| 罗江县| 建水县| 儋州市| 洛阳市| 康平县| 会泽县| 潞城市| 吉首市| 大余县| 威信县| 新巴尔虎左旗| 永吉县| 车险| 吉水县| 彭州市| 息烽县|