Rails API backend with Electron Frontend
I'm working on a SaaS platform that will be heavily API driven with a React or Vue front end. But there's a requirement for a desktop app to give the customer something "tangible" to hold in their hands (marketing is pushing for this).
Any guidance for an Electron newb like me is greatly appreciated.
And yes, I know this is not the best idea trying to make a desktop client for a web framework backed app, but gotta pay the bills :)
I think its a very viable proposition. Infact I recommend to go with it. I created one for a client. Same SaaS platform API, React Frontend, ReactNative Mobile App and a Electron Desktop App. If you are familiar with React/Redux then you can implement that in Electron as well. I also went ahead with some offline capabilities by using Postgres as a local DB. Checkout https://github.com/brianc/node-postgres .
Go ahead! Give it a shot!
Definitely affordable (free) to build one and it's a requirement of this new project I'm working on. If you have any examples or tutorials (I've yet to find anything decent) feel free to share!
Hey so here is what I referred to to build or rather to understand how to build https://scotch.io/tutorials/build-a-music-player-with-react-electron-i-setup-basic-concepts
There also some material on Lynda https://www.lynda.com/Electron-tutorials/Electron-Building-Cross-Platform-Desktop-Apps/518051-2.html
Unfortunately there is not much to refer to than these. I could explain, but I am super swamped at work clocking about 14-15 sometimes 16 hours. Startup mode :|
For anyone who might have a similar goal, please checkout nativefier (https://github.com/nativefier/nativefier). You can build a desktop app with just one CLI command.
It is important to note that the final GUI app will only work only if the device has access to the internet.
If you have any Papa Murphy Survey Code on your receipt, you can help Papa Murphy deliver a better eating experience on your next visit.