简体   繁体   中英

Using a Rails JSON API as a backend for desktop app

My company is wanting to use a Rails JSON API app as a backend for a desktop app. The Rails JSON API would use a Postgresql database.

However, some customers self host their data, meaning they have a postgresql server installed on a computer the desktop app uses. Because of these users, we would have to deploy this Rails app and customers would have to run the Rails API server on their machines, including Windows machines. Is this a good idea or even possible?

If your customers are running the db themselves, you probably don't need an api, right?

Otoh, there are tools like portable ruby by the phusion team that let you pacakge up a Ruby app. You can also build the app via JRuby as a jar or war and deploy that in any env with Java

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM