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
4
votes
1 answer

appwrite web sdk with typescript

I am using demo-todo-with-react with typescript. For api.js creating api.tsx it gives me error on api.sdk={database,account} "Type '{database: Database; account: Account;}' is not assignable to type 'null' " let api = { sdk: null, provider: ()…
Vishal Tanna
  • 1,165
  • 2
  • 12
  • 36
2
votes
0 answers

Relationship type cannot be found under the list of attribute types

I cannot find the attribute type of relationship. I am relatively new to appwrite so I am sure if I am doing something wrong or if the type no longer exists I read the documentation which has relationship as part of the attribute types, and a couple…
2
votes
1 answer

__vite_ssr_import_1__.Client is not a constructor Error

I am developing a simple app to showcase CRUD operations with Appwrite and Nuxt 3 (Release Candidate 11). The source code to the same can be found here. I am using the landing page of the app (index.vue) for simple redirection i.e. if the account…
Eshaan Aggarwal
  • 129
  • 1
  • 11
1
vote
0 answers

AppwriteException: null, File bytes must be provided for Flutter web (0)

I was trying to create a file in Appwrite Storage Bucket but without success. I'm using the packages: appwrite: ^8.0.2 image_picker: ^1.0.2 the image is being collected by the image picker because I can use it in the program with Image.network() but…
LinkGr
  • 11
  • 2
1
vote
1 answer

How to fix CORS error on localhost when connecting to a local Appwrite from a local React app?

I'm using the web SDK for Appwrite in a React app: const client = new Client() .setEndpoint(import.meta.env.URL) .setProject(import.meta.env.PROJECT_ID) const account = new Account(client); const promise = account.create(ID.unique(), …
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
1
vote
2 answers

Get All Collection data from app write using php

I am using Appwrite PHP SDK to query a collection that has more than 25 documents. I want to get all the documents in one query, so I tried to set the limit parameter like this: $query = [ 'limit' => 10 // Set the query limit to retrieve only 10…
sehjad
  • 11
  • 1
1
vote
1 answer

appwrite and flutter query using or operator

what I want to do is list all the documents in a collection lets say users collection where the user is in management or his salary is more than 2000 how could I do it I have tried using queries yet appwrite creates the queries as an and operation
1
vote
2 answers

Appwrite with Flutter, Google OAuth provider issue

i'm trying to add Google OAuth provider of Appwrite into a Flutter app (use Riverpod for state managment). With email and password I can login/register and push to home_view.dart With Google after login, I correctly see the user data on Appwrite but…
Leon
  • 162
  • 2
  • 10
1
vote
0 answers

Appwrite endpoint issue: Client.setEndpoint() not working on render.com server with localhost, what are the alternatives?

I use this in my code to access my appwrite local endpoint. import { Client, Account, ID } from 'appwrite'; const client = new Client() .setEndpoint('http://localhost/v1') It doesn't work in my render server. I think it's a problem with the…
dayo
  • 77
  • 1
  • 5
1
vote
2 answers

Docker: appwrite install permission error

I am trying to install appwrite in my local docker, but I encounter some error First I run this Command then docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ …
Aron
  • 21
  • 4
1
vote
1 answer

How to run Digital ocean droplet with appwrite, ghost cms AND Sveltekit

So I am developing a simple web-app and site and locally I have appwrite as well as sveltekit running. On digital ocean i made a droplet using the appwrite 1 click install then I added a domain. The domain now defaults to appwrite of course so now I…
1
vote
1 answer

Not able to login/signup in appwrite console

Yesterday i have upgraded my machine and installed everything again. But now i'm not able to login or create new account into the appwrite console. Previously it was working fine. I have checked the documentation but did not get any solution form…
Keval Tank
  • 11
  • 2
1
vote
2 answers

Displaying data from Appwrite into sveltekit

So, I have an appwrite and sveltekit application running. This is my first time using both. I have managed to set up appwrite sdk and connected to database and have api data stream coming in when I log it. Here is the data I get from appwrite in the…
1
vote
0 answers

Appwrite return 500 error when trying to add custom domain

I get a 500 internal error when i try to add a custom domain to appwrite 1.2.0 server. I have changed .env variable _APP_ENV and _APP_DOMAIN_TARGET to "api.example.com" I have also followed manual ssl generation method here When i navigate to my…
1
vote
1 answer

How to call Appwrite function from postman?

I have appwrite instance deployed locally. I have created a function and deployed successfully. How can I call that function from postman through HTTP request? My local instance URL: http://localhost/v1 Function path as per appwrite.json is…
Deva
  • 11
  • 2
1
2 3
8 9