Using cookies, we want to create a micro solution for our web application.
We want a script that creates a cookie on a user's local storage with a unique ID, and then creates a new postgres entry on our heroku-based app with the same unique ID.
When the user interacts with an element that triggers a specific events the script should add a log of this to the existing postgres entry for that unique ID into another field. The script and DB should keep track of how many times each event was triggered.
When the same user comes back to a page with the same script installed and has the cookie, the script should instead get the unique ID from the cookie and perform a GET from the same DB using it. The script should return the array of triggered events for that unique ID.
If the returned data meets a specific set of criteria, a function to un-hide a hidden element should be run.
To build and demonstrate completion of this task you use this public repo: [login to view URL]
By a user clicking button 1 at least twice [potentially on separate occasions], and button 2 at least once, button 3 should be unhidden. Script and django app must be cross-site compatible, eg. if button 1 gets clicked on one url once and another url once it should register to the same unique ID.
Access to our backend django instance will be provided to the right candidate.
Deliverables will be the javascript file and working django app to our instance.
Project Budget is $80 and the work should be able to completed in less than 4 hours.
Relevant articles:
Unique ID: [login to view URL]
Cookie ceation: [login to view URL]
Hi,
I'm an experienced web application developer.
I'm very good at angular.js, jquery, bootstrap.
Please check comments from other project owners on my service.
I'm very happy to work for you.
Contact me if you are interested.
Thanks,
Rick