Connecting FlutterFlow to Appwrite
FlutterFlow is a low-code tool to build and deploy Flutter apps. It has out-of-the-box support for connecting to Firebase, but what if you want to connect to Appwrite instead? Since Appwrite exposes all services via RESTful APIs, it’s possible to use FlutterFlow’s API Calls to connect to Appwrite. Let’s make a sample app to see how it’s done!
The app we’ll build will allow a user to enter their email and password and create an email session. After creating an email session, the text box below will show “Hello, [user’s name].” To see it in action, click here and log in with user@example.com
and password
.
Local State
To start, we’ll create variables to reuse for various API Calls.
Create the following:
projectId
: Appwrite Project ID
— Data Type: String
— Persisted: False
— Default Value: Your Appwrite Project IDendpoint
: Appwrite Endpoint
— Data Type: String
— Persisted: False
— Default Value: Your Appwrite…