Ecommerce Development / Retail
AmazonShop.lk
An ecommerce platform for a Colombo-based mobile phone, accessories and desktop devices retailer, taking a walk-in-only store online with secure accounts, a live cart and an AI shopping assistant.

Full showcase of the AmazonShop.lk platform across desktop, tablet and mobile.




01 - About this project
AmazonShop.lk is an ecommerce platform for a mobile phone, accessories and desktop devices retailer that, until this project, ran entirely out of a single physical store in Colombo. It's built as a full-stack MERN application with React and Vite on the frontend, and a security-first Node.js and Express backend handling authentication, sessions, orders and an AI-powered support assistant.
02 - How it was built
The challenge, the approach, the outcome.
01 / The Challenge
The retailer operated walk-in only - no online ordering, no way to browse stock from home, and no digital sales channel for customers who preferred to shop online. The brief was to let customers browse, filter, add to cart and check out securely without visiting the store, while giving staff a clean admin dashboard to manage products, orders, customers and reviews without touching the database directly. The project was delivered sprint by sprint under a formal Agile process, with its own risk, quality and scheduling management alongside the build itself.
02 / Our Approach
The storefront is built with React, Vite and Zustand for lightweight state management, styled with Tailwind CSS and backed by an Axios service layer. Authentication was treated as its own system rather than a bolt-on: customer and administrator logins use separate JWT secrets, audiences, cookies and session records, with short-lived access tokens held only in memory and refresh tokens delivered as HttpOnly cookies, hashed before they ever reach the database. Refresh-token rotation includes a grace window so multiple tabs and concurrent requests don't incorrectly revoke a valid session, and genuine token reuse revokes the entire session family. On top of that, we integrated Google OAuth account linking and a Google Gemini-powered chatbot for customer support and product recommendations.
03 / Delivered Solution
The current build is frontend-first by design: the customer-facing pages, admin layout and checkout flow are built out, with the authentication, session and account-security layer already production-grade - OTP email verification, password recovery, session device/browser tracking, one-click revocation of other sessions, and account export/deletion with anonymisation that preserves order records for accounting and fraud prevention. Some storefront sections still use placeholder data while the payment gateway and remaining admin features are completed in later sprints.
Tech stack
03 - Key features
What shipped in this build.
Product catalogue with category and brand filtering
Secure registration, login and profile management
Separate customer and administrator authentication systems
HttpOnly refresh cookies with rotation and reuse detection
Google OAuth sign-in with safe account linking
HMAC-hashed OTP email verification and password reset
Session management - device, browser, IP and one-click revocation
Live shopping cart and variant-aware wishlist with guest merge
AI chatbot powered by Google Gemini for support and recommendations
Order history and order status tracking with in-app notifications
Retrying email delivery for order and account notifications
Admin panel for products, categories, orders, users and reviews
Account data export and deletion with anonymisation
Administrator audit logging and account lockout protection
How to review this case study
When assessing AmazonShop.lk, consider how the authentication architecture, sprint-based delivery and account-security features respond to the goal of moving a walk-in-only retailer online. This page documents delivered functionality and implementation decisions at the current stage of a project still in active sprints; it does not claim revenue, traffic or conversion results the client has not provided and verified. Ask us for the relevant technical detail if you're planning a project with similar authentication or session-security requirements.
More work
Other projects we've built.
Faux Fur Boa
A full-stack MERN wholesale platform for a professional-grade fur, button and fabric accessories business, built for bulk ordering, tiered pricing and real-time inventory control.
View case study →Ecommerce Development / Sports RetailiSports Cricket Store
A premium ecommerce storefront and secure admin control system for a Dubai-based cricket specialist retailer, positioned as a leading destination for professional cricket gear in the UAE.
View case study →