Aiddix — Headless e-commerce platform
I developed the interface, the server-side layer and the deployment of a complete online store, including the purchase flow and card payment processing.
- Headless architecture with Next.js (App Router) on top of WooCommerce: catalog, customers and orders consumed through its REST API, without using the WordPress storefront.
- Server-side layer (BFF) implemented with Next.js route handlers: the browser never accesses WooCommerce or the payment gateway directly, and credentials remain on the server.
- Card payments with 3D Secure authentication flow: the transaction runs on the server and the order is created only after approval.
- Customer authentication via JWT stored in an httpOnly cookie.
- Prices and shipping costs recalculated server-side during checkout, so the final amount never depends on data sent from the client.
- Order states differentiated by payment method, preventing a pending bank transfer from reducing stock before the payment is confirmed.
- Server-side caching of catalog and categories to reduce calls to the WooCommerce API.
- Complaints book, required by Peruvian regulation, with form validation, request rate limiting and a custom WordPress plugin.
- Deployed as a Docker image published to a private registry and running on a VPS behind an HTTPS reverse proxy.


