Why I built NeedWise
Shopping on a tight budget can take more work than it should. You know what you need and what you can afford, but finding a sensible combination of products often means opening several stores, comparing prices, and doing the maths yourself. I wanted to make that process easier, especially for students and anyone who needs to make a limited budget stretch.
NeedWise starts with a simple question: what are you shopping for, and how much can you spend?
What it does
You describe what you need in your own words, enter your budget, and choose what matters most to you, such as value for money. NeedWise looks for relevant products, explains its recommendations, and lets you review and adjust your basket before paying. You can see the total and the retailers associated with your selections instead of finding surprises at the end.
The checkout is part of the same journey. Once you approve the basket, NeedWise creates a PayPal Sandbox order, takes you to PayPal to approve it, and returns to the app to confirm the test payment.
How I built it
I built the interface with React, TypeScript, and Vite, and deployed the application on Cloudflare Workers. Cloudflare Workers AI helps interpret the shopping request and explain recommendations. Channel3 supplies live product discovery, including product and retailer information. The application uses PayPal Orders v2 in the Sandbox environment for order creation, buyer approval, and payment capture.
I wanted the AI to be useful without taking away the shopper's control. The user still decides what goes in the basket and sees the amount before checkout.
What I learned and what comes next
One of the biggest challenges was connecting product discovery to a real checkout flow. Finding products is only half the experience; the basket and payment need to stay consistent too. Building that flow taught me a lot about PayPal's Sandbox accounts, order approval, capture, and the difference between demonstrating a payment and actually distributing funds to retailers.
Today, NeedWise is a working prototype with a simulated PayPal payment. A future version could work with participating retailers and a marketplace payment arrangement to route payments and fulfillment appropriately, which is something it does not do yet.
NeedWise is my attempt to make everyday shopping a little less stressful and help people make better use of the money they have.
Built With
- channel3
- cloudflare-workers
- cloudflare-workers-ai
- paypal-orders-api
- paypal-sandbox
- react
- typescript
- vite
