Questions tagged [appwrite]

Secure Open-Source Backend Server for Web, Mobile & Flutter Developers Appwrite is a self-hosted backend-as-a-service platform that provides developers with all the core APIs required to build any application. https://appwrite.io/

Secure Open-Source Backend Server for Web, Mobile & Flutter Developers Appwrite is a self-hosted backend-as-a-service platform that provides developers with all the core APIs required to build any application. https://appwrite.io/

130 questions
0
votes
1 answer

How to get the counts of a query with Appwrite

I don't see anywhere in the Appwrite documentation query how to perform a count (*) for a collection based on filters. Is it possible or I need to take care of the counts manually when adding or removing a document?
ctwhome
  • 753
  • 1
  • 13
  • 24
0
votes
1 answer

Appwrite environment variables ignored

I'm using Appwrite on AWS (started with the pre-canned Appwrite marketplace and upgraded to 0.14.2.305). In order to allow certificate generation, I need to update _APP_DOMAIN and _APP_DOMAIN_TARGET. however, no matter which value I put there, it is…
0
votes
1 answer

Having trouble with promise inside async function

having a real problem with getting this code to work. I have everything set up working great with Appwrite. I'm getting a response back from the server, but in my promise.then it finishes the other code and returns undefined from the login…
0
votes
1 answer

Appwrite dart listCollections returns null

Unable to fetch list of collections in appwrite using database.listCollections(). It always returns null. E/flutter (12082): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: type 'Null' is not a subtype of type 'int' E/flutter…
aravindha
  • 1
  • 1
0
votes
1 answer

Appwrite for Flutter Create Session Throwing Concurrent Modification Exception

I am trying to implement a basic login function using Appwrite in Flutter, and no matter what way I have done this I keep getting a Concurrent modification error rather than the future returning properly with the account session, but it's…
Saphiric
  • 81
  • 1
  • 8
0
votes
2 answers

The method 'when' isn't defined for the type 'Object'

I created this StateNotifier with Riverpod in Flutter which Returns the Object DocumentsList class TripStateNotifier extends StateNotifier> { TripStateNotifier() : super([]); void getDocuments() async { final res = await…
Janski
  • 23
  • 5
0
votes
1 answer

Appwrite succesfullyu installed but a new directory isnt created

I have installed Appwrite. But a new directory conating the docker-compose.yml and .env has not been created. The terminal is giving a sucess message. Docker is also working properly. I installed appwrite through following commands: docker run…
Aditya
  • 59
  • 7
0
votes
1 answer

Swift : Convert to from JSON

I'm using Appwrite with Swift and I'm trying to use a convertTo function to get a JSON structure of a document but I'm not sure on how to proceed. Here is the function I would like to use public func convertTo(fromJson: ([String: Any]) -> T) -> T…
Émile
  • 5
  • 1
0
votes
1 answer

How can node JS communicate with VueJs (appwrite SDK Question)

I'm trying to make users profiles dynamic in appwrite app. I want each user profile page to be accessible to all users so it goes like this (www.appname.com/users/{userid}). I'm very new to node JS but i managed to install appwrite SDK for node and…
Mostafa Said
  • 739
  • 2
  • 6
  • 20
0
votes
1 answer

Send email when Appwrite database gets update

How to trigger notification on Appwrite when a record is added to my database? The same function exists in Firebase, but in the paied plan .
Adel Benyahia
  • 233
  • 3
  • 10
0
votes
2 answers

Appwrite init function returns "Error ENOENT"

I am trying to set up a cron job using Appwrite functions. I already setup appwrite cli and every other thing works fine but when I try to create a function using "appwrite init function", I get an error directing me to open up a readme.md file that…
0
votes
2 answers

How to store information about login in mobile application (offline or online)?

I made a simple application that allows you to take pictures offline and tag them. As soon as there is an internet connection, these data are sent to the server. I use a great backend solution - Appwrite. It works very well. The last thing I wanted…
0
votes
2 answers

How do I read environment variables in my Appwrite functions?

In the Appwrite console, I'm adding a test environment variable to pass into function... In my function code (NodeJs) index.js, I'm logging out the value of above variable... I save the code and use the Appwrite CLI (createTag) to push/publish the…
Locohost
  • 1,682
  • 5
  • 25
  • 38
0
votes
1 answer

Appwrite in a docker container with a simple python throws security error... I think

I created an appwrite docker, and created a project and api in the docker. I'm trying to use this python code: from appwrite.client import Client from appwrite.services.users import Users client = Client() (client …
vwdewaal
  • 975
  • 2
  • 11
  • 25
0
votes
2 answers

How to paginate (get all) Appwrite using listDocuments?

I can list documents from Appwrite database using: https://appwrite.io/docs/client/database#databaseListDocuments const sdk = new Appwrite(); sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2')…
Meldiron
  • 1
  • 1
  • 1
1 2 3
8
9