We are running a Postgres on [login to view URL] (please create your own free database for solving this project). We also have a Google Spreadsheet and we want you to make it so that saving data in that Google Spreadsheet will save data in the postgresql database. I do not want this done by syncronizing every fifth minute, but rather using events that trigger saving in Postgres immediately. Before the saving has completed, then please make the background color of the cell that was updated red, and turn it back to the color that it originally had after the saving has completed. Please do not save all the table every time, just the changed cell.
The column a in the spreadsheet will be equal to the "id" column of the postgresql table.
Please hardcode the mappings of google spreadsheet columns with postgresql columns. In a test spreadsheet have the columns:
id (int)
date (date)
date time (timestamp(6))
text (varchar(99999))
Please set the validation rules for the columns in the google spreadsheet, and ensure that no values will make your script unable to sync (apart from dates before 1970 and after 2030).
The syncing needs to be within seconds usually.
If you need one, you get a linux server for solving this project. Our preferred programming language is PHP.
Max price for this project is 130$, you are welcome to open-source your solution and/or sell it, to for example ([login to view URL]!/Google%20Docs/PostgreSQL). I just want updates in the future if you continue using the source code for a closed source project.
And I need this within 5 days from you starting the project.
To ensure that you have actually read all these requirements, I will only consider bids where I can find your freelancer.com username in this form: [login to view URL] You of course need to also submit a bid via Freelancer.com.
Google Spreadsheet provides an event for cell-changed so you could capture this event for invoking a web service. This web service will then be redirected to do the postgres update on your another server, in this case postgres.heroku.com.
All web service and postgres script would be written in PHP.