What is Flamelink?
If you are unfamiliar with Flamelink, please visit our flamelink.io website for more info on features, pricing and more.
Welcome to the Flamelink Software Development Kit (SDK) docs. If you're reading this, you are most likely already using Flamelink (the CMS) or are considering it for your next project. These docs should hopefully make integrating with your Flamelink CMS a breeze.
This SDK is intended to be used in either a browser or Node.js server environment. It supports both the Firebase Realtime Database as well as Cloud Firestore. Some Firebase functionality, like the Storage Bucket functionality is not supported server-side when using the client Firebase SDK. If you find that you need to reference anything that is stored in the Storage Bucket (files!) when using this SDK server side, you would need to use Firebase's official admin SDK. The admin SDK allows you to access other more privileged information that should only be accessed from a server. We support both packages within the Flamelink SDK. See the Usage section to see how to use either the Firebase client or admin SDK with Flamelink.
If you are unfamiliar with Flamelink, please visit our flamelink.io website for more info on features, pricing and more.
You might wonder why you would use the Flamelink SDK and not the Firebase SDK's directly. The short answer is that you can use the Firebase SDK's if you prefer that, but the Flamelink SDK aims to make the experience a lot nicer and easier for you.
The Flamelink SDK is in fact an abstraction that uses the Firebase SDK internally.
environment
and locale
you set when initializing - you would need to handle this yourself without the SDKapp.content.get({ schemaKey: 'blogs' })
vs firebaseApp.database().ref('/flamelink/environments/<some-env>/content/blogs').once('value')
Since this SDK is built on top of Firebase's SDK's, it naturally means all limitations in terms of browser or Node.js version support will be the same for Flamelink. Take a look at Firebase's supported environments document for a list of officially supported environments.
Are you ready to get started?
🔥🔥🔥 PSST. Let's go! 🔥🔥🔥