stayradiated / clickandcollect.nz Goto Github PK
View Code? Open in Web Editor NEWTracking NZ supermarket click & collect slots
Home Page: https://clickandcollect.nz
License: MIT License
Tracking NZ supermarket click & collect slots
Home Page: https://clickandcollect.nz
License: MIT License
I am going to replace the graph with rechart
- the same library used on flattenthecurve.co.nz.
We can group the stores by region. This is going to require some data cleanup.
I believe most people who use the site will be interested in the supermarkets nearest them. By using the Geolocation API and knowing the longitude/latitude of each supermarket, the site can automatically display the supermarkets that are nearby.
I am considering a notification system, so you can get an alert when a supermarket releases new slots. It would be a challenge to implement a notification system that is actually useful to people.
Occasionally, there will be a glitch in the response from the supermarkets, and it will appear that there are suddenly no slots available, or every day has slots. This will cause issues.
I’m thinking something along the lines of:
look at the next X days
only send a notification if there have been no slots in those X days for at least Y hours
and the number of slots has increased from 0 to Z slots
and the number of slots has been stable over 5 minutes (i.e. not a glitch)
I think I can also get notifications to work without needing a server, using the Notification API and Service Workers…
Similar to #3, but instead of sending the notification, book the slot instead.
If someone has location services disabled on their phone, and clicks the "Stores Near Me" button, it doesn't show stores near them.
We should display an error message to let them know that we couldn't detect their location.
Would be good to be able to monitor delivery slots too
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.