Amid
All work
02E-commerceFeb 2026 — Sep 2026

Almas Pro

A multi-locale eCommerce platform for genuine Apple products: a customer storefront and an admin panel, built as two Next.js apps in one Nx monorepo. I built core modules of the admin dashboard the team uses to run the store — catalog, orders and returns, payments, shipping, promotions, SEO and access control.

Organization Almas Pro · Contract

Role Frontend Developer

almas.pro (opens in a new tab)
Next.js apps in one monorepo: storefront and admin
2Next.js apps in one monorepo: storefront and admin
Admin modules from catalog to access control
End-to-endAdmin modules from catalog to access control
Launched in production at almas.pro
LiveLaunched in production at almas.pro

01

Overview

Almas Pro is an online store for genuine Apple products — iPhone, Mac, iPad, Apple Watch, AirPods and accessories — with installment payments and a multi-locale storefront. The frontend is one Nx monorepo holding two Next.js apps: the customer storefront and the admin dashboard, which also hosts a visual page builder for the store's content.

I joined on a project-based contract and worked mainly on the admin dashboard: the screens the team uses to manage the catalog, process orders and returns, configure payments and shipping, run promotions and control who can do what.

02

The Problem

An admin panel for a store is where every operational detail ends up. Each product carries translations, media, attributes and per-unit serial numbers; each order can turn into a return, a refund or a change of carrier; every editor needs exactly the permissions their job requires and no more.

All of it had to be built against a backend API that was being developed at the same time, so contracts changed while the screens consuming them were in progress.

  • A large surface — dozens of list, detail and form screens — that had to behave consistently.
  • Forms whose validation had to match the backend's own limits, so errors are caught before a request is sent.
  • Fine-grained, per-user permissions that the interface has to respect, not just the API.

03

My Approach

Follow one layered pattern everywhere. Every request goes through a shared services library — API functions, React Query hooks and query keys — and every screen is split into a server page, a data hook and a presentational component. A new module then looks like every module before it, which keeps a large dashboard reviewable.

Make the contract the source of truth. Request and response shapes live as Zod schemas in a shared library, and the dashboard's forms validate against those same schemas through React Hook Form, so a backend limit is enforced once and surfaces in the form.

04

Architecture & Technical Decisions

apps/

Storefront · Next.js, multi-locale
Admin dashboard · Next.js

libs/

Services · API client & query hooks
DTOs · Zod contracts
Domain models
UI components
Backend REST API · separate service

Data flows one way: API → services → a screen's data hook → a presentational component. No screen calls the API directly.

Two Next.js apps share typed libraries for HTTP, contracts and UI; neither app talks to the API directly.
  • Next.js App Router with React Server Components for both apps, in an Nx monorepo where apps reach shared libraries only through their public entry points.
  • TanStack Query for server state, confined to the shared services library and each screen's data hook.
  • React Hook Form with Zod schemas shared between the dashboard and the services layer.
  • A shared UI library built on Radix UI and Tailwind CSS, used by both the storefront and the dashboard.
  • Filters and pagination synchronised with the URL, so any list view can be bookmarked or shared.
  • Client-side permission gating that hides or disables actions the signed-in user is not allowed to take.

05

My Contribution

  • Built the catalog modules: products with translations, media, 360° images and related products, plus brands, a tree-view category manager, attributes, features and per-unit serial tracking.
  • Built order management, the returns and refunds workflow, and the shipping screens for methods, prices, carriers and shipments.
  • Built the payments section — methods, transactions, refunds and webhook events — and the multi-currency rate management.
  • Built coupons, advertising campaigns, FAQs, SEO settings and a shared media library, and added version history with rollback to the CMS page builder.
  • Built users, roles and permission editors with per-user revoke and restore, and the client-side permission gating across the dashboard.
  • Aligned dashboard forms with backend validation using React Hook Form and the shared Zod contracts.

06

Outcome

The platform launched in production at almas.pro, with the admin modules I built covering catalog, orders and returns, payments, shipping, promotions, content and access control.

07

Technology

  • Next.js
  • React
  • TypeScript
  • TanStack Query
  • React Hook Form
  • Zod
  • Tailwind CSS
  • Nx Monorepo