What is Firebase?
Google's cloud based authentication, database, and storage solution. Provides a NoSQL DB and storage (like a S3/CDN) for your web or native apps. It provides a built-in authentication layer using OAuth2.0, similar to Auth0, alongside the other services.
Why use Firebase?
- Provides easy to use integrations for web and native apps
- Provides managed and scalable DB solution
- Ubiquitous solution, meaning many will be familiar with API and SDK
- Provides authentication solution out of the box
How do I use Firebase?
- Sign up for Google and Firebase.
- Create a new app.
- Create a new DB.
- Structure the NoSQL DB through the web console
- Install the SDK into your app (or add the JS bundle from their CDN)
- Add the credentials to your app (using ENV vars)
- Use the
firebase()function for DB read/write, auths, etc
Limitations of Firebase?
- Client-side and server-side (NodeJS) SDKs are different.
- Getting Started with a module bundler docs
- Authentication intro docs
- How to authenticate users docs
- Creating new DB and setting up the config for DB
- Structuring data for NoSQL apps
- Read and write to DB