Read data from Realtime Database.
Create Flybase Account
First, create a Flybase account.
Create your First app
- If you do not have a Flybase account, create one first.
- Create a new app.
- Copy your API Key
You have successfully set up a real-time database, as well as generated credentials for your serverless function to connect to Flybase.
Add Environment Variables
To securely access the API, we need to include the secret with each request. We also do not want to commit secrets to git. Thus, we should use an environment variable. Learn how to add environment variables in Vercel.