All Projects → dyaa → loopback-connector-firestore

dyaa / loopback-connector-firestore

Licence: MIT license
Firebase Firestore connector for the LoopBack framework.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to loopback-connector-firestore

loopback-connector-cassandra
Cassandra connector for the LoopBack framework.
Stars: ✭ 13 (-59.37%)
Mutual labels:  connector, loopback
loopback-connector-arangodb
LoopBack connector for ArangoDB
Stars: ✭ 20 (-37.5%)
Mutual labels:  connector, loopback
FireCat
Firestore real time pagination for Android
Stars: ✭ 15 (-53.12%)
Mutual labels:  firestore
waylan android
A dictionary concept for Android ~ Making words and their meanings available through a natural and beautiful experience
Stars: ✭ 13 (-59.37%)
Mutual labels:  firestore
firestore-store
express-session store for Firebase Cloud Firestore
Stars: ✭ 44 (+37.5%)
Mutual labels:  firestore
app
Source code of intencje.pl website and mobile/desktop apps based on Angular, Firebase, and Capacitor.
Stars: ✭ 12 (-62.5%)
Mutual labels:  firestore
loopback-typescript-example
Loopback with TypeScript
Stars: ✭ 13 (-59.37%)
Mutual labels:  loopback
FireSnapshot
A useful Firebase-Cloud-Firestore Wrapper with Codable.
Stars: ✭ 56 (+75%)
Mutual labels:  firestore
barber-shop
Vue + Firebase (cloud functions, auth, firestore, hosting) reservations system
Stars: ✭ 47 (+46.88%)
Mutual labels:  firestore
stor
[DEPRECATED] STOR provides a JSON database with the power of HTTP requests 🚀
Stars: ✭ 18 (-43.75%)
Mutual labels:  firestore
firestore-react
[UNMAINTAINED] Firestore bindings for React components
Stars: ✭ 52 (+62.5%)
Mutual labels:  firestore
Trippo-The Travel Guide
Trippo is your smart travel guide - it’s free and works offline, too! You can skim through tours, locations, POIs, city walks, articles and so on. This guide will save you from a serious headache!
Stars: ✭ 28 (-12.5%)
Mutual labels:  firestore
stuff
Crud operation with Firebase
Stars: ✭ 80 (+150%)
Mutual labels:  firestore
FireShort
A URL Shortener made using React.JS and Google Firestore
Stars: ✭ 29 (-9.37%)
Mutual labels:  firestore
image-upload-app
A simple image upload application using React and Node, which explores multiple ways to upload an image including using multer as a middleware, a CDN system and converting an image to a string and storing it.
Stars: ✭ 35 (+9.38%)
Mutual labels:  firestore
Madara
✍️ A way for people to manage their tasks.
Stars: ✭ 17 (-46.87%)
Mutual labels:  firestore
buddy-linux
Do you remember "Wubi Ubuntu Installer"? This project is both a replacement and an improvement of Wubi. You will be able to install your Debian (or derived) distribution on a PC without repartitioning it, simply by using a secondary/external boot device (like a USB drive).
Stars: ✭ 17 (-46.87%)
Mutual labels:  loopback
deepl-api-connector
Connector library for deepl.com rest translation api
Stars: ✭ 12 (-62.5%)
Mutual labels:  connector
crisis-news-mapper
日本の災害関連ニュースをTwitterから収集して地図上にマッピングするFirebaseプロジェクト crisis.yuiseki.net
Stars: ✭ 13 (-59.37%)
Mutual labels:  firestore
cannercms
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,452 (+7562.5%)
Mutual labels:  firestore

loopback-connector-firestore

Firebase Firestore connector for the LoopBack framework.

wercker status npm npm npm

I needed an easy way to connect a Loopback application to Firebase's NoSQL database Firestore so that i decided to build this connector.

Installation

If you want to know how to get started with Loopback check this.

To add a new data source, use the data source generator:

lb datasource

Then the data source generator will prompt some questions like

  • Enter the data-source name: Firestore (Choose your prefered name)
  • Select the connector for Firestore: other
  • Enter the connector's module name loopback-connector-firestore
  • Install loopback-connector-firestore (Y/n) y

Then you should use a service account. Go to Project Settings > Service Accounts in the Google Cloud Platform Console. Generate a new private key and save the JSON file.

You should fill the application's datasource file which is located in /server/datasources.json with those details, You can find them in the downloaded JSON file from the Google Cloud Platform.

"firestore": {
  "name": "firestore",
  "projectId": "",
  "clientEmail":  "",
  "privateKey": "",
  "databaseName": "Optional, Default: projectId"
}

Connection properties

Property Type   Description ---
projectId String project_id in the JSON file ---
clientEmail String client_email in the JSON file ---
privateKey String private_key in the JSON file ---
databaseName String Firebase's project id Optional, Default: projectId

And you can actually store those private details as an Environment variables, Check source-configuration

Inspiration

I've got inspired by the Official MongoDB connector by Loopback

License

Copylefted (c) 2017 Dyaa Eldin Moustafa Licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].