Thursday, 11 May 2017

Rails app synchronisation with desktop app

I have a problem statement i have a rails app that is used for booking tickets online so now i need to build a desktop app for the same which interacts with the online server for synchronisation of data the problem statements are:

1) Desktop app should be such that an operator can book the ticket in the counter and that seat should be blocked in the online app also

2)The challenging part first one is that when the internet is not available also the counter tickets should work and when internet connect its should sync with the online app and while internet is out in the counter the online ticketing should stop instantly

3)So i have decided to go around a approach of using electon node and postgres to build the desktop app for this purpose and the online app is a rails app same database postgres

can u guys help me out with this suggesting what approach i should take to archive this and how can i synch the local and the cloud db instantly and stop the online tender of ticket when connectivity is not there at the counter level, Can also suggest what technologies that i can implement to achieve this

And one more thing is that the app is a multi tenant app so it has many outlets in it selling tickets each outlet is a tenant.



via Athul Santhosh

No comments:

Post a Comment