Dev.to AI 🤖 Ai 👁 0 📖 2 min read

How I Built a Marketplace Listing Generator with Next.js and DeepSeek

How I Built a Marketplace Listing Generator with Next.js and DeepSeek Writing one product listing is easy enough. Writing the same listing for Amazon, Shopify, and Etsy is a different problem. Each marketplace expects

How I Built a Marketplace Listing Generator with Next.js and DeepSeek

Writing one product listing is easy enough.

Writing the same listing for Amazon, Shopify, and Etsy is a different problem. Each marketplace expects a different structure, and the same product information often needs to be rewritten several times.

That repetitive work was the reason I started building ListingForge.

It is an AI-assisted tool that turns basic product information into draft titles, bullet points, descriptions, and keywords for different ecommerce platforms.

This article explains the technical choices behind the project and some of the problems I encountered.

The problem

A seller usually starts with a collection of raw information:

  • Product name
  • Main features
  • Materials
  • Dimensions
  • Target customer
  • Use cases
  • Brand tone
  • Shipping or packaging details

That information is rarely ready to publish.

For example, an Amazon listing may need a concise title and structured bullet points. A Shopify product page usually needs a more readable description. An Etsy listing may need a different title style and a stronger focus on materials, occasion, or personalization.

The product facts stay mostly the same. The format and writing style change.

I wanted to build a workflow where a seller could enter the information once and generate several usable drafts from it.

The output is still a draft. The seller remains responsible for checking product claims, compliance, measurements, and marketplace rules.

Why I chose Next.js

I used Next.js because the project needed both an interactive frontend and server-side API routes.

The frontend handles:

  • Product information forms
  • Marketplace selection
  • Generated content
  • Copy and editing actions
  • Loading and error states

The server handles:

  • AI requests
  • Environment variables
  • Authentication-related logic
  • Usage checks
  • Health checks
  • Payment and webhook integrations

Keeping the application and API routes in one project made the first version faster to build. I did not need to maintain a separate frontend and backend deployment while I was still testing the product idea.

The application is deployed on Vercel, with the production site available at:

https://listingforge.vip

Using an OpenAI-compatible API

The application uses an OpenAI-compatible SDK interface, but the underlying provider is DeepSeek.

That distinction is worth mentioning because an SDK name does not always tell you which model provider is handling the request.

The relevant configuration looks like this:


env
AI_PROVIDER=openai
AI_MODEL=deepseek-v4-flash
OPENAI_BASE_URL=https://api.deepseek.com
📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.