Find Jobs
Hire Freelancers

For ExpressJS site change from sqlite db to Postgresql db with locking rows feature

€8-30 EUR

Chiuso
Pubblicato più di 3 anni fa

€8-30 EUR

Pagato al completamento
Only apply for this project if you know ExpressJS (including [login to view URL](), express-session, ...), if are familiar with ExpressJS this project will be easy for you. Tasks: 1. Switch from sqlite to Postgresql 2. Only in route /classify block articles when another user loaded that article already. User names get assigned with variable user ([login to view URL]://localhost:3000/?user=user1). Currently I used in /classify an sql query with "done != 1". Please change it so that user1 and user2 don't see the same article when they load the page at the same time. Hence, you need to block that article until that user submits OR after a timeout of 30 minutes. (Maybe one way to achieve that is psql FOR UPDATE and lock_timeout?) How to start working on this project: - Please use git (start the project with git init and send me the zip git repo at the end) - npm install - npm start - The db stuff you will find in routes/[login to view URL]
Rif. progetto: 28179182

Info sul progetto

Progetto a distanza
Attivo 3 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite

Info sul cliente

Bandiera: GERMANY
Berlin, Germany
5,0
3
Metodo di pagamento verificato
Membro dal ott 29, 2017

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.