> For the complete documentation index, see [llms.txt](https://docs.ionicfirebaseapp.com/restaurantbackend/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionicfirebaseapp.com/restaurantbackend/firebase/what-is-firebase.md).

# What is Firebase?

**Firebase** is a Backend-as-a-Service — BaaS — and next-generation app-development platform on Google Cloud Platform.

**Firebase** frees developers to focus on crafting fantastic user experiences. You don’t need to manage servers. You don’t need to write APIs. Firebase is your server, and API is your datastore, all written so generically that you can modify it to suit most of the needs. Yeah, you’ll occasionally need to use other bits of the Google Cloud for your advanced applications. Firebase can’t be everything to everybody. But it gets pretty close.

#### Firebase Pros & Cons <a href="#firebase-pros-and-cons" id="firebase-pros-and-cons"></a>

It’s not all roses.

I mean, it’s mostly roses, but watch the thorns.

**Pros**

* Email & password, Google, Facebook, and Github authentication
* Realtime data
* Ready-made api
* Built in security at the data node level
* File storage backed by Google Cloud Storage
* Static file hosting
* Treat data as streams to build highly scalable applications
* Don’t worry about your infrastructure!

**Cons**

* Limited query abilities due to Firebase’s data stream model.
* Traditional relational data models are not applicable to No SQL; therefore, your SQL chops will not transfer.
* No on-premise installation.

> If you are looking to start the quick and easy setup and less server cost then Firebase Backend is best suited to you but if you are looking to expand business in future where you need lots of custom query and logic then better to go with nodeJS Backend.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionicfirebaseapp.com/restaurantbackend/firebase/what-is-firebase.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
