Retail · Online store with management system
Hōma e Lojinha
Independent clothing store with WhatsApp ordering and a workshop system that handles production, stock and resellers.

- Client
- Homa Confecções, an independent clothing workshop in the far south of Bahia that sells directly and through resellers
- Where
- Far south of Bahia, Brazil
- Technology
- Next.js 16 · React 19 · TypeScript · Tailwind CSS 4 · PHP · MySQL · JWT
- Status
- Live · lojinha.nexialabs.com.br
- Development
- André Gomes · NexiaLabs
In short
Hōma is the online store of Homa Confecções, an independent clothing workshop that delivers across the far south of Bahia, built by André Gomes at NexiaLabs. The public site, built in Next.js and exported as static pages, sends a ready order to WhatsApp. On the same domain, Lojinha is the workshop's management system, in React with a PHP and MySQL API, covering production, pricing, stock, consignment and a resale module that gives each reseller their own storefront.
The client
Homa makes custom tees, button shirts, printed shirts, sarongs and oversized shirts, in limited batch collections. It sells to end customers and also through resellers and consignment. The workshop deals with fabric, seamstresses, labor and cost per piece, and the owner needed to know the right price for each model. Customers are spread across Teixeira de Freitas, Eunápolis, Porto Seguro, Prado, Alcobaça and Caravelas.
The challenge
There were two problems in the same business. Outward, a fast mobile store, findable on Google by city, that never forces the customer to create an account. Inward, a system that computes production cost correctly, tracks stock and lets the shop hand pieces to resellers while knowing how much each one holds. Each reseller could see only their own data, never another reseller's or the parent shop's production cost.
What was built
The public site was built in Next.js with static export, with pages per product and per delivery region, a sitemap and structured data, served as plain HTML on shared hosting. The customer picks model, size and color and the button opens WhatsApp with the order written out. The management panel runs on the same domain, behind a login, and covers catalog, fabrics, suppliers, seamstresses, production, pricing, stock, sales, consignment and cost centers. The resale module works with allocated stock and markup earnings: the parent shop reserves pieces for a reseller, who sets their own price above the base price and receives orders through a public storefront of their own.
What the system does
- Storefront with five categories, product pages, search and size and color selection.
- Order sent to WhatsApp with product, size and color already written, with no cart or sign up.
- Pages per delivery region, from Teixeira de Freitas to Caravelas, for local search.
- Production and pricing with fabric cost, labor and seamstress expenses.
- Stock, sales, quotes, customers, suppliers and cost centers.
- Consignment with tracking of pieces handed out and returned.
- Resale with stock allocation, base price, reseller price and consolidated finances.
- Public storefront per reseller, where the end customer builds and sends an order.
// For whoever reviews the code: architecture and decisions.
Under the hood
The domain serves three pieces on Hostinger shared hosting. The public site is Next.js 16 with React 19, TypeScript and Tailwind CSS 4, exported as static files. The panel is a React application served from its own folder, and .htaccess routes the admin and resale paths to it. Both talk to a plain PHP API using PDO and MySQL, with one file per route, JWT authentication and shared CRUD helpers. Since site and API live on the same domain, calls use relative paths and do not depend on CORS.
Technical decisions
- Next.js with static export, to get fast, indexable pages on hosting without Node.
- Ordering through WhatsApp instead of checkout, because customers shop on their phone and do not want to fill in forms.
- A reseller modeled as a consignee with a login and storefront, reusing what the system already had.
- Every reseller query filtered on the server by the logged in user, never by a parameter coming from the screen.
Does your business look like this one?
Fits a clothing maker, workshop or private label that produces in batches, sells over WhatsApp and wants to grow through resellers without losing track of stock.
Frequently asked questions
Who developed Hōma e Lojinha?
Hōma e Lojinha was developed by André Gomes Andrade, a full stack developer from Carlos Chagas, Minas Gerais, Brazil, at NexiaLabs, from planning to launch.
Where is the client of Hōma e Lojinha based?
Homa Confecções, an independent clothing workshop in the far south of Bahia that sells directly and through resellers. Far south of Bahia, Brazil.
Which technologies were used to build Hōma e Lojinha?
Hōma e Lojinha uses Next.js 16, React 19, TypeScript, Tailwind CSS 4, PHP, MySQL, and JWT.
Can you build a similar project for my business?
Yes. Every project is custom built, with code and accounts in the client's name. The first step is a WhatsApp conversation at +55 (33) 98465 6356 to understand what you need.
More retail projects

Duvale Conveniência
Duvale site and apps: customers order in the app and pay on delivery, and staff run shift checklists on their phones.
Convenience store in Carlos Chagas
See the project
Private accessEspaço Pets
Pet shop system with a grooming schedule, a till with store credit and a link for owners to book on their own.
Pet grooming shop that also sells products over the counter
See the project
Olá Amiga Bags
Handbag storefront with booking over WhatsApp and a panel that tracks stock, sales, installment credit and collections.
Women's handbag shop that sells over WhatsApp and on installment credit
See the project