Creating a cart will be the hardest part when working on an Ecom-related project. Because we have manage multiple states for products, cart items, etc. Building this from scratch is not a good idea. It's better if we use the Cart NPM Package. The cart package provides a hook and
In this article, We will see how we can create an API route with versioning. Something like example.com/api/v1/process Grouping or Versioning is a technique to isolate the working API endpoint from the newly developed API. We can group it inside the v prefix to do that.
When working on a Next.js application, you may want to redirect the user to a different page after they sign in. The documentation is not clear on how to do this, so I will try to explain it here. This is really helpful if you have Custom Sign In
This articles shows how you can load an image from the URL in react native project
Cloudflare workers are really awesome when you want to secure your API Endpoint. But most of the code available online won't show how to use URL params.