chrishappy / smooth-shopping Goto Github PK
View Code? Open in Web Editor NEWEmpowering Food Bank Clients with the Dignity of Choice
License: GNU General Public License v3.0
Empowering Food Bank Clients with the Dignity of Choice
License: GNU General Public License v3.0
Easiest is probably just persisting all the queries and just calling them by ID (if apollo supports that).
We want to clear the product + user + order queries after creating an order.
Filter all the nodeQueries by:
nodeQuery(filter: {
conditions: [
{operator: EQUAL, field: "status", value: ["1"]},
]}, limit: 30
) {
Double-check that when an order is created/deleted, the user's credit is updated accordingly.
Hi @chrishappy and team, just ran the project in my VS code and browser and noticed that there's a "Warning: Invalid DOM property class
. Did you mean className
" in the footer.
I think the issue is in line 30 of footer.js.
class="footer-wrap"
should be
className="footer-wrap"
Tried the change on my local copy and it got rid of the warning.
Since product quantities are not updated in real-time, it's possible that the quantities are invalid (e.g. a different client checked out some of the same items recently).
Thus, before we submit an order, we should check that the quantities are still valid.
Let Kiana Add Fields
Connect an access code to each user.
Right now, only retrieves a max if 30 items. Recursively call query until no more items reached
If there is only 1 of product X, only allow users to buy 1 of item X.
In case two people add an item to the cart, the first person to checkout out will receive the item.
Do not allow clients to spend more credit than they currently have
Allow users to see a history of their old orders. So in case, they can't remember if they've ordered rice or something.
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.