Inspiration
Shopping for a simple need can turn into an overwhelming hunt through products and upsells. We wanted to make the decision feel calmer and keep the shopper’s budget in control.
What it does
Mint turns a shopper’s goal into a short, editable product plan. It shows the total, savings, and remaining budget as the shopper adds or removes items, then offers PayPal sandbox checkout.
How we built it
The interface uses HTML, CSS, and JavaScript, with a lightweight Node.js server. When configured, the server asks OpenAI to select relevant items from a fixed catalog and validates the choices against the budget. PayPal’s JavaScript SDK and Orders API handle sandbox checkout; prices are calculated on the server.
Challenges
We had to keep recommendations within the shopper’s budget, restrict AI choices to real catalog items, and keep API secrets on the server. We also added a demo mode so the interface can be previewed without credentials.
What we learned
AI recommendations work best when they are constrained and explainable. Keeping the budget visible and letting the shopper make the final choice makes the experience more trustworthy.
Built With
- css
- html
- javascript
- node.js
- openai-api
- orders
- paypal
- paypal-javascript-sdk