A webshop you can talk to.
Find it. Compare it. Put it in your cart.
Development · tRPC API · Test setup . Git workflow
“Find me a summer outfit under €100.” Agentic E-Commerce is a JKU Linz IT Project 2026/27 that aims to make that request the start of a shopping trip. The goal is to browse the shop, search and filter products, compare offers, and manage a cart entirely through chat. A freely available, open-source language model would run locally and use tool calls to act on those requests.
| Layer | Technology |
|---|---|
| Runtime | Node.js 26 (ES modules) and pnpm 11 |
| Frontend | Next.js 16 App Router, React 19, Tailwind CSS 4, and shadcn/ui tooling |
| Types and validation | TypeScript 5.9 and Zod 4 |
| API and client data | tRPC 11, SuperJSON, and TanStack Query 5 |
| Shopping agent | AI SDK 7 and WebLLM for planned in-browser model inference |
| Database | PostgreSQL 17 (Docker Compose), Postgres.js, and Drizzle ORM 1.0 RC |
| Migrations and seed | Drizzle Kit and Drizzle Seed |
| Testing | Vitest 4, with Testing Library, jsdom, and Playwright for planned UI and browser tests |
| Code quality | ESLint 9 and Prettier 3 |
Install Node.js 26, the pnpm version pinned in package.json,
and Docker with Compose. From the repository root, run the commands below.
If .env.local already exists, add the settings from .env.example to it and
skip the copy command.
cp .env.example .env.local
pnpm install --frozen-lockfile
docker compose up -d --wait
pnpm db:migrate
pnpm db:seed
pnpm devOpen localhost:3000.
The Next.js app uses DATABASE_URL. Migrations and the seed script use
DATABASE_URL_DIRECT. The defaults in .env.example
point both variables at the local Compose database. Set TEST_DATABASE_URL
to run integration tests against a disposable PostgreSQL instance. See the
development guide.
| Path | What lives there |
|---|---|
src/app/ |
Next.js pages and the tRPC HTTP route |
src/agent/ |
Shopping agent entry point |
src/server/api/ |
tRPC router and procedures |
src/server/catalog/ |
Product filters and queries |
src/server/cart/ |
Cart validation and totals |
src/server/db/ |
Database connection and schema |
drizzle/ and scripts/seed/ |
Migrations and catalog seed |
test/ |
Unit, HTTP handler, and integration tests |
doc/ |
Development, API, testing, and Git guides |
Developed for educational purposes at the Institute of Business Informatics — Software Engineering, Johannes Kepler University Linz.