Currently I build macOS and Windows apps. I’m looking at creating a simple web service that will convert text stored within a JSON and respond with a new JSON that contains binary data. So the web app needs to respond to a call from a different web site which passes the JSON, and return a new JSON with process results and data if successful.
Would it be best for me to create a Xojo web app to do this, or would a linux console app do as I don’t need a front-end for a browser?
Also, to start, I can’t justify paying the US$49 per month for Xojo Cloud. Any recommendations of what kind of service I can use to host a simple app like this? I have a shared hosting service with SiteGround (linux server running Fedora) for my web site but it sounds like this won’t work due to config limitations.
Sounds like a web app would do best. You should look into AWS lightsail virtual machines to host it. They start at around $5 per month. You will also need @Tim_Parnell 's Lifeboat app. It makes it super simple to deploy an app to the machine.
I always choose a WebApp over a Console app since you have the choice of giving it a Web interface. I send up/down JSON using URLConnection and HandleURL. It’s a joy to use!
I use VPSDime (https://vpsdime.com) to get a cheap Linux host for $US7 per month. It will run as many Xojo Apps as you want. I get them to install the Microsoft Remote Desktop Linux software so I can manage it remotely, share clipboard for password entry and map share a local drive for file transfers.
It will be much easier to do it with a Web App, since with a Console app you will have to handle all the HTTP protocol with raw ServerSocket & TCPSocket. In a Web App you just need to implement the App.HandleURL event.
There is a Webinar Tomorrow about this topic, join us!
Also, with a Web App you can just press on Deploy using our Xojo Cloud service.
Thanks for all the help. I went with @Brandon_Warlick 's suggestion. Too easy to set up a AWS light sail virtual machine - especially with @Tim_Parnell 's Lifeboat and AWS YouTube video. I’ve upgrade to Xojo Pro and got a basic web app running on a sub-domain of my website. Purchasing a license for Lifeboat as it’s gold! Thanks again.
@David_Cox@Tim_Dietrich I would love for you guys to try out Lifeboat and let me know what I could improve on to add it to your toolkit. If you have any questions about integrating with your workflow, my inbox is open