Skip to content
mgalvan.devSoftware Studio

Our product · Live

Marfen.

Retail management in one place.

Marfen brings sales, inventory, cash management and reporting together for everyday retail operations. It is a product designed and developed by mgalvan.dev.

Visit marfen.com.ar
The product in useMarfen / 01
Results report with demonstration data
Reporting

The images in this case study come from an isolated demonstration environment and use synthetic data. They are not customer metrics, commercial results or an independent verification of every system rule. The architecture is described according to the project documentation.

The context

A business needs connected information.

A sale, an inventory update and a cash movement are parts of the same operation. When that information lives in separate places, understanding the state of the business requires bringing it together.

Marfen starts from that need: keeping daily management in one place so information can follow the operation instead of interrupting it.

The solution

A tool for everyday work.

Marfen brings retail management functions into one platform. It supports recording sales, checking products and inventory, managing cash and reviewing business information.

The product is built for businesses that need to move quickly while keeping a clear view of their activity.

The solution

Capabilities

01

Point of sale

Find products by name, SKU or barcode to build a sale and move on to payment.

02

Products and inventory

Organize products and stock, with the detail needed to know what is available.

03

Cash and payments

Configurable payment methods and cash movements to follow the day's operation.

04

Purchases and suppliers

Record purchases and access supplier information within the same management flow.

05

Customers and accounts

Keep customer records and follow the movements on their accounts.

06

Reporting and locations

Review profitability reports and manage multiple locations to read the business as a whole.

The product in use

From a sale to the bigger picture.

The sales flow brings together product selection, quantities and payment. Inventory checks support that journey with the information available at the time.

Reports provide a view of sales, costs and results for a selected period. The screenshots in this section show product screens with demonstration data.

Engineering

Decisions behind the product.

01

An explicit path for every request

The documented architecture describes a clear path from the interface to server actions, services, repositories and the database. Actions validate input and re-check permissions before business rules run.

02

The organization as an access boundary

The domain and architecture documentation describe the organization as the boundary between businesses. Queries are scoped to an organization and composite keys limit references across separate accounts.

03

Branches with their own context

Each branch keeps its own operational context, including inventory, prices and cash. Catalog and customer data are shared at the organization level, while stock and prices belong to the branch.

04

Business rules in a service layer

Services hold business rules and transactions, while repositories handle data access. The documentation also describes atomic inventory updates, historical cost snapshots on sales and checkout idempotency.

05

Documented technology choices

The application uses Next.js with the App Router, React, TypeScript, PostgreSQL and Drizzle ORM. Business code is organized by feature, with routes kept separate from each domain's logic.

06

Testing across layers

The documentation describes unit and component tests, PostgreSQL integration tests and end-to-end flows. It also records coverage limits and outstanding integration cases; this is not a fresh verification of the full suite.

mgalvan.dev / Software Studio

Have a project in mind?

Discuss your project