Home Applications workshop-firebase

workshop-firebase

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
0
0 reviews
0
Awards
78
Views
0
IPM installs
0
0
Details
Releases
Reviews
Issues
Pull requests
Articles
Firebase adaptor

What's new in this version

Initial Release

workshop-firebase

Example of connectivity between FIREBASE database and InterSystems IRIS.

You can find more in-depth information in https://learning.intersystems.com.

What do you need to install?

Setup

Build the image that we will use during the workshop:


$ git clone https://github.com/intersystems-ib/workshop-firebase
$ cd workshop-firebase
$ docker-compose build

Introduction

Firebase is a Google platform for the development of web applications, for this example we are going to create an adapter to connecto with Cloud Firestore, a NoSQL database available in Firebase.

How to run the container?

Very easy! Just run the following command to start the IRIS instance:

$ docker-compose up -d

What are you going to find in this project?

  • An IRIS Community installed and accesible from the Management Portal (user: superuser / password: sys).

  • A production with a Business Service configured, this BS has a custom adapter configured to connect with a Cloud Firestore database using Embedded Python. There are two parameters to be configured:

    • KeyPath: with the path to the json file wich contains the key to access to your database
    • DocName: the name of the collection that you want to retrieve.
  • A requirements.txt with the Python library necessary to connect with Firebase project.

Attention!

  • To run this project you need a Firebase account and a project created with a Cloud Firestore database created to get a json file with the key to connect.
  • Check this article from the developer community
Made with
Install
zpm install firebase-adapter download archive
Version
1.0.031 Jan, 2024
Ideas portal
https://ideas.intersystems.com/ideas/DP-I-146
ObjectScript quality test
Category
Integration
Works with
InterSystems IRISInterSystems IRIS for Health
First published
04 Nov, 2023