01 / CONTEXT
The problem
Small sellers need a storefront and lightweight tools to publish products, track inventory, and handle incoming orders.
ENGINEERING CASE / AFRIVEND Commerce · Marketplace
A seller storefront and commerce application with product listings, inventory-aware order creation, seller management, and administrative views.
CONTRIBUTIONApplication implementation across storefront, seller, order, authentication, and administration flows.
PROJECT MARK / NO PRODUCT SCREENSHOT01 / CONTEXT
Small sellers need a storefront and lightweight tools to publish products, track inventory, and handle incoming orders.
02 / RESPONSE
AfriVend combines public seller storefronts with protected seller and admin areas. Server routes validate product and order inputs, read seller sessions, and use Prisma transactions for inventory-aware order creation.
03 / PRODUCT PROOF
Authentic interface captures were not present in the inspected project assets. This page does not substitute generated or illustrative UI for product screenshots.

The checked-out repository contains an app logo and source for seller storefronts, products, orders, and admin routes, but no genuine product screenshots were found. No live deployment URL was confirmed.
04 / SYSTEM MAP
Architecture notes follow the checked-out source and README. The diagram describes system boundaries; it is not a product interface.
Next.js App Router, React 19, and TypeScript.
Prisma models for sellers, products, and orders backed by PostgreSQL.
Next.js route handlers validate request bodies with Zod and perform database operations with Prisma.
Session checks protect seller and admin operations; product listing and order flows have distinct public and authenticated paths.
05 / SCOPE
Current functionality is separated from limitations and items identified as future work.
Public seller and product routes render storefront pages from persisted records.
Authenticated product creation and update routes validate fields and persist with Prisma.
Order handling checks product availability and stock inside a database transaction.
Dashboard, settings, and order pages are present in the App Router source.
Admin page and seller-management API route are present in source.
06 / ENGINEERING NOTES
Order creation couples order records with stock changes, so the route wraps these operations in a Prisma transaction.
Seller-facing writes need to be scoped to the authenticated seller and validated at the server boundary.
The project source includes database configuration, but a production environment and live commerce flow were not available for validation in this pass.
07 / CURRENT STATE
The local repository contains a Next.js application, PostgreSQL Prisma schema, product/order API routes, seller storefront pages, and seller/admin views. No live deployment URL or production transaction was verified.
The source implements seller storefront and commerce workflows. No seller counts, transactions, customer outcomes, or revenue figures are claimed.
Inventory-sensitive writes belong in one database transaction to avoid a created order getting out of sync with stock.
A source checkout confirms routes and data models, but not production configuration or operational readiness.
No verified public roadmap was found in the inspected project files; no planned features are asserted here.
STACK / VERIFIED AGAINST SOURCE