Project archive

ENGINEERING CASE / AFRIVEND Commerce · Marketplace

AfriVend.

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.

AfriVend application markPROJECT MARK / NO PRODUCT SCREENSHOT
STATUSSource implementation present · deployment unverified
CATEGORYCommerce · Marketplace
TECHNOLOGYNext.js 16 · React 19 · TypeScript
SOURCERepository implementation inspected

01 / CONTEXT

The problem

Small sellers need a storefront and lightweight tools to publish products, track inventory, and handle incoming orders.

02 / RESPONSE

The implemented approach

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

Product evidence

Authentic interface captures were not present in the inspected project assets. This page does not substitute generated or illustrative UI for product screenshots.

AfriVend application mark
Interface screenshots unavailable

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.

Inspect source

04 / SYSTEM MAP

How it is put together

Architecture notes follow the checked-out source and README. The diagram describes system boundaries; it is not a product interface.

IMPLEMENTATION MAPAfriVend / SOURCE NOTES
  1. 01
    Web app

    Next.js App Router, React 19, and TypeScript.

  2. 02
    Persistence

    Prisma models for sellers, products, and orders backed by PostgreSQL.

  3. 03
    Server routes

    Next.js route handlers validate request bodies with Zod and perform database operations with Prisma.

  4. 04
    Access

    Session checks protect seller and admin operations; product listing and order flows have distinct public and authenticated paths.

05 / SCOPE

What the source implements

Current functionality is separated from limitations and items identified as future work.

01

Seller storefronts

Public seller and product routes render storefront pages from persisted records.

02

Product management

Authenticated product creation and update routes validate fields and persist with Prisma.

03

Order creation

Order handling checks product availability and stock inside a database transaction.

04

Seller workspace

Dashboard, settings, and order pages are present in the App Router source.

05

Administration

Admin page and seller-management API route are present in source.

06 / ENGINEERING NOTES

Decisions and trade-offs

01

Order creation couples order records with stock changes, so the route wraps these operations in a Prisma transaction.

02

Seller-facing writes need to be scoped to the authenticated seller and validated at the server boundary.

03

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

Where the project stands

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.

Lessons

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.

Future work

No verified public roadmap was found in the inspected project files; no planned features are asserted here.

STACK / VERIFIED AGAINST SOURCE

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Prisma
  • PostgreSQL
  • Zod
  • JWT sessions