I have just started last night with the Digital Ocean install and have it mapped to my url with DNS but when going to my url it takes me to the login page of appwire. How do I route to a specific platform instead. My hope is to use the url to open to my webpage which is one of the platforms.
I am pretty sure my terminology is a bit off. 🙂 Thanks for the help
I also have it hooked up to my Digital Ocean Spaces
You can avoid this by adding another docker container, but best practice is the separation of concerns.
When using Appwrite, you'll need to have 2 end points (at least)
- Appwrite - the one you've created in DigitalOcean
- Frontend, which can be
- Frontend JS hosted on services like Netlify, Cloudflare pages etc.
- Flutter app.
- Android app.
- iOS app.
As Appwrite is your backend and its a BaaS (Backend-as-a-Service) that will take care of all your backend needs.
P.S. If you're referring to the option to show (host) static websites in your Appwrite like Firebase hosting, then you can:
- Track this feature request
- Try Funcover which let you return HTML content from your Appwrite functions.
So under integrations and you add a platform you have the option to add Web App, Apple, Android, Flutter. You define a hostname etc. This is meant to represent the backend of the application, not the front end, correct? I have seen tutorials (which I have not completed yet) about "Sveltekit app with AppWrite" which end up with them running the application on a webpage, so that hosted app must be hosted from appWrite somehow.
Yep, It mostly hosted on a separate server.
so assuming I want to stay under Digital Ocean can I actually run appWire and let's say a python server on the same droplet?
or do I need a separate droplet
What I do suggest is to go with the two servers solution, but if this is not the preferred solution, then If you want them to be on the same server, you can, but you'll need: To add another container (and traefik rule) inside your docker compose Or Change Appwrite default ports and deliver it behind Nginx https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243
I'll go with a separate droplet, that works.
really appreciate the help, going nuts looking for something that does not exist. 🙂
<a:agooglethumbsup:635256484682530825>
[SOLVED] How to serve app?
Recommended threads
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...