Skip to content

StockFlow

Year 2026 Logistics

StockFlow

Internal warehouse & inventory application: race-safe stock IN/OUT, audit chain, role-based access, and Excel reporting.

01

Quick Facts

Role
Full-Stack Developer
Year
2026
Sector
Logistics
Stack
  • Laravel 11
  • React 18
  • MySQL 8
  • Sanctum
  • maatwebsite/excel 3.1
  • Vite
  • Tailwind
02

Problem & Solution

StockFlow - Overview

StockFlow is an internal application used by the warehouse & inventory operations team to record stock movements, manage module-level access per role, and produce Excel reports. It is designed to stay stable during peak hours and to be maintainable by the next engineer who joins.

Short lead: this application translates operational warehouse requirements, which usually arrive in business language, into clear REST APIs and frontend flows, so requirement changes do not always mean renegotiating the contract.

Read case studies

03

Screenshot Gallery

04

Architecture Diagram

React 18 SPA, Laravel 11 REST API, MySQL 8 with Sanctum and module-based middleware.
05

Feature Highlights

dynamic navigation

The FE sidebar is built from the BE response that lists modules the user is allowed to access.

rbac

Request passes auth:sanctum, then module:xxx middleware, then role_module lookup.

stock movement create

Validate, transaction begin, lock item row, INSERT stock_movements, INSERT movement_logs (type_activity=CREATE), applyMovementDelta, COMMIT.

stock movement update

Validate, transaction begin, lock item row, capture oldQty, compute delta, UPDATE stock_movements, INSERT movement_logs (type_activity=UPDATE), applyMovementDelta(delta), COMMIT.

06

Engineering Case Studies

07

Security & Quality

  • Formula injection escape on every user-controlled Excel field.
  • Self-delete guard prevents admin from removing their own account.
  • Last-admin guard prevents running without an active admin.
  • Token revoke on user soft-delete prevents token reuse.
  • Test DB safety guard (APP_ENV + DB prefix) prevents dev DB wipe.

Want to discuss this project?

Want to discuss this project?

Send me an email