Skip to content

About

A conversational webshop project for finding products, comparing offers, and managing a cart through chat.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic E-Commerce

A webshop you can talk to.
Find it. Compare it. Put it in your cart.

Next.js 16 React 19 TypeScript 5.9 tRPC 11 Drizzle ORM 1.0 RC PostgreSQL 17

Stack · Getting started · Layout
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.


Stack

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

Getting started

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 dev

Open localhost:3000.

Environment

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.


Layout

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.

About

A conversational webshop project for finding products, comparing offers, and managing a cart through chat.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages