0.0.31 • Published 6 years ago

orb-firebase v0.0.31

Weekly downloads
14
License
MIT
Repository
-
Last release
6 years ago

Firebase with GraphQL

Why GraphQL with Firebase?

Firebase is an awesome platform for developers. It’s a one-stop-shop for authentication, hosting, database, and serverless cloud functions. It is realtime first and it has a very generous free tier and awesome tooling. But it has one achilles heel: querying the database. GraphQL provides a very dynamic and expressive query layer and can vastly simplify fetching operations for Firebase clients.

Why Apollo Server 2?

apollo-server-express is very lightweight, easy to wire up, and pairs well with Firebase Cloud Functions. That makes it cheap, cheap, and cheap.

Install Firebase CLI

npm install -g firebase
npm install -g firebase-tools

Create a Firebase project

First ensure you have OAuth 2.0 authentication

firebase login

Then create a project folder and initialize the project with Functions. This project uses JavaScript.

firebase init

◯ Functions: Configure and deploy Cloud Functions

Install dependencies

cd functions
npm install
npm install apollo-server-express express graphql
0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago