Skip to content

Dressing provides the functionality of CloudFunctions to connect Firebase and ElasticSearch. You need to use Salada for clients.

License

Notifications You must be signed in to change notification settings

1amageek/dressing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dressing

Dressing provides the functionality of CloudFunctions to connect Firebase and ElasticSearch. You need to use Salada for clients.

Installation

$ npm install dressing

Usage

To set the needed firebase config variables we use the Firebase CLI functions:config:set command:

$ firebase functions:config:set elasticsearch.username="user" elasticsearch.password="your_password" elasticsearch.url="http://0.0.0.0/elasticsearch/"

const functions = require('firebase-functions');
const Dressing = require('dressing');
const dressing = new Dressing(functions);

/**
 Elasticsearch
*/

// PUT a user class to ElasticSearch 
exports.indexUserToElastic = dressing.put('user')

Reference

  • Salada Firebase model framework.
  • Tong Tong is library for using ElasticSearch with Swift.
  • dressing Dressing provides the functionality of CloudFunctions to connect Firebase and ElasticSearch.

About

Dressing provides the functionality of CloudFunctions to connect Firebase and ElasticSearch. You need to use Salada for clients.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published