Skip to content

dmtw/loopback-connector-firebase3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loopback Connector Firebase3

Build Status Coverage Status

With Firebase SDK 3.x

Notes

For TravisCI to work, we need to encrypt the file that contains the private key. See a gist.

Data is encrypted before add to Git:

# Encrypt
cat /dev/urandom | head -c 10000 | openssl sha1 > ./.secret
openssl aes-256-cbc -pass "file:./.secret" -in ./test/serviceAccount.json -out ./test/serviceAccount.json.enc -a

On Travis it can be decrypted with:

# Decrypt on Travis
openssl aes-256-cbc -pass "pass:${FIREBASE_ACCOUNT_PASS}" -in ./test/serviceAccount.json.enc -out ./test/serviceAccount.json -d -a

About

With Firebase SDK 3.x

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.4%
  • Makefile 3.6%