Snehasis4321 / todo_app_appwrite

Todo app in Flutter using Appwrite
1 stars 1 forks source link

Documnet Modal file is missing #1

Closed sheikhsuleman123 closed 1 year ago

sheikhsuleman123 commented 1 year ago

I am unable to find the document.dart modal file

Snehasis4321 commented 1 year ago

I have not written any document.dart file , I have use Document Model which is a part of appwrite .
import 'package:appwrite/models.dart'; import this package will solve you error.

sheikhsuleman123 commented 1 year ago

In your video you show this document where I can see this file in my project folder ?

On Tue, 29 Aug 2023, 12:18 pm Snehasis4321, @.***> wrote:

I have not written any document.dart file , I have use Document Model which is a part of appwrite . import 'package:appwrite/models.dart'; import this package will solve you error.

— Reply to this email directly, view it on GitHub https://github.com/Snehasis4321/todo_app_appwrite/issues/1#issuecomment-1696900258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI56MXHYV5OK3DHFML4GLHTXXWJTHANCNFSM6AAAAAA4COXZLY . You are receiving this because you authored the thread.Message ID: @.***>

Snehasis4321 commented 1 year ago

paste the screenshot here. i will try to figure whats your problem.

sheikhsuleman123 commented 1 year ago

image

i am unable to import this

Snehasis4321 commented 1 year ago

Line 11 final client= Client(); is wrong

till will be something like this

Client client = Client() .setEndpoint('YOUR_APPWRITE_ENDPOINT') //Replace with your appwrite endpoin .setProject('YOUR_PROJECT_ID') //Replace with your projectID .setSelfSigned( status: true);

In my case i have imported it from auth.dart

image image

I hope you got it.

sheikhsuleman123 commented 1 year ago

Dear Brother I am using the Getx and this is my code I get an error from Appwrite

image

Snehasis4321 commented 1 year ago

look like a backend error, just check and verify all the endpoints and project id are correct according to appwrite console.

sheikhsuleman123 commented 1 year ago

login and signup functionality is working ok but I am facing error in the database only , is there any solution or suggestion for this

Snehasis4321 commented 1 year ago

I will suggest you check the permissions of your database collection in you appwrite console,are READ WRITE permission are given or not.

sheikhsuleman123 commented 1 year ago

Brother I cross-check everything login signup is working perfectly now when I add the todo also same error occur

image

sheikhsuleman123 commented 1 year ago

solved I am proceeding your videos next If I have any issue can I ask you ?