#[SOLVED] Collaborating with programmers in a project integrated with Appwrite

31 messages · Page 1 of 1 (latest)

vernal forge
#

Hello! I am working on an opensource project which uses appwrite and the project is hosted on local host of another colaborator I do have the project ID is there a way for me to connect to his project while it being on his localhost.... if I get to know his IP ? would it be possible then ?

mystic mist
#

He need to set a tunnel on his computer

#

Like cloudflare tunnel for example

#

Or, if he've fixed IP, he can set a WAN access to his router

vernal forge
#

const String APPWRITE_ENDPOINT = "http://localhost/v1";

const String APPWRITE_ENDPOINT = "http://[his IP]/v1";

would this not work directly

#

along with the default port of appwrite

mystic mist
#

Ty to go, with your browser, to http://[IP] first. There's no point in going any further if you can't access it.

#

When it works, I suggest you to add fake DNS on your hosts file, with same domain that he use (localhost or other) like
After, go to https://[domain] to check if you can access appwrite console
Then you can use it with client sdk

vernal forge
#

thank you so much your insight was very helpful

#

raised a surge of confidence in me

atomic moss
#

[SOLVED] Collaborating with programmers in a project integrated with Appwrite

vernal forge
#

@mystic mist @atomic moss just figured i can request them to add me as a member to that project would that work ??

mystic mist
#

No, you need to be able to reach his appwrite server via network

vernal forge
#

Okay but now again what is the point then like if we have to finally find a hosting solution for appwrite then firebase already does the work so then why

#

It is like a flask server at the end you would have to find a hosting solution for it

atomic moss
vernal forge
#

Oh okay okay

vernal forge
#

@atomic moss I am still having this error

#

@atomic moss @mystic mist
I actually linked it to my app write instance running on my docker still I am getting a connection refused error I have and it is in the line where i do
User appwriteUser = await account.get();

account is getting from client and client has my appwrite instance endpoint and my created appwrite project ID

atomic moss
vernal forge
#

Thanks for responding @atomic moss my end point was wrong got solved in some other suggestion

#

I entered local host in endpoint needed to do with IP and add /v1

#

Really love the community support of appwrite thanks

vernal forge
#

as Appwrite cloud is in

#

beta

#

would we have availability issues as it would be down for maintenance and all

#

and ya I tried tunnelling

#

made the app really slow

#

so was thinking to opt for appwrite cloud

atomic moss