Find Jobs
Hire Freelancers

Use Google Spreadsheet as frontend to Postgres

$30-250 USD

Terminado
Publicado hace casi 10 años

$30-250 USD

Pagado a la entrega
We are running a Postgres on [login to view URL] (please create your own free database for solving this project and give me access to it for testing). 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 (GS from now on) columns with postgresql columns. In a test spreadsheet have the columns: id adate adate_time text and the create table statement should be: create table atable (id int primary key, thedate date, thedate_time timestamp(6), the_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. You should be able to connect directly to the database using JDBC: [login to view URL] Here is a proof of concept from a developer who attempted this task earlier (I think it is actually working) (but who suddenly did not answer me for 2 months). But there should be no need for the server-side stuff that is done there if you use JDBC connection to the database instead. It should not be possible to add nor delete postgresql rows from the GS. If you need one, you get a linux server for solving this project. Our preferred programming language is PHP. Here is a trigger that could be used: [login to view URL] A previous developer seems to have run into problems with Trigger Aggregate Execution Time found under "Quotas" here: [login to view URL], which slowed down his testing, so you should probably utilize multiple Google accounts and switch ownership to increase your quota. Please ensure that editing multiple cells in one go works. Also, ensure that if there are formulas in the cells, then it is the resulting values that get saved in the DB and not the formulas themselves. Max price for this project is 150$. And I need this within 5 days from you starting the project, but I need to see some sort of progress after 24 hours of me accepting your bid (working or non-working). 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.
ID del proyecto: 6243292

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi David!, It's me again. I've reviewed the requirements and have a couple of comments: 1) The Google Apps Scripts Events system support the kind of behavior you mention. Only the changed cells should be sent to the database and not the whole sheet. Also it shouldn't be needed to do interval polling. 2) As flybot mentions, there's no direct support for PostgreSQL in the Google API. However, I can create a Linux web service and have the Google API do a POST to that service. The service would in turn store data in the PostgreSQL database. For this to work we would need some PHP hosting space in a web server. I'm not sure of your security requirements, if that's the case then a TLS certificate or at least a TLS setup - though this is vulnerable to man in the middle attacks - would be needed. Or we can just use a MySQL database service and connect directly there. I've registered again in the freelancer usernames spreadsheet. Just in case :) Regards, Leo
$150 USD en 5 días
5,0 (11 comentarios)
5,1
5,1
2 freelancers están ofertando un promedio de $131 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$111 USD en 6 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de DENMARK
Copenhagen, Denmark
5,0
165
Forma de pago verificada
Miembro desde ene 11, 2010

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.