Skip to content
All work
EnterpriseAI / E-Commerce

Salespark — AI Suggestion API

OpenAI product copy for Shopify, at scale

A multi-tenant Shopify app backend that uses OpenAI to generate optimised product titles and descriptions, with credit-based billing, real-time webhooks and a tested, containerised stack.

The Problem

Shopify merchants struggle to write SEO-optimised, conversion-focused product copy at scale.

The Solution

A Fastify API that generates alternative titles and descriptions from product context, deducts credits per use, persists history in MongoDB and notifies via Pusher.

Key Features

OpenAI title/description generation
Credit-based subscription billing
Shopify OAuth + Admin API
Real-time Pusher webhooks
BullMQ async job queue
Jest unit + E2E tests (Supertest)
Docker + PM2 deploy

Architecture

Frontend
Shopify app surface
Backend
Fastify + TypeScript
Database
MongoDB (Mongoose)
Infrastructure
Redis, BullMQ, Pusher, Docker, PM2

Engineering Challenges

  • Per-user OpenAI cost control via credits
  • Shopify webhook reliability & latency
  • Concurrent requests across many stores

Tech Stack

FastifyTypeScriptMongoDBOpenAIShopify APIPusherBullMQRedisJestDocker
Live demo, screenshots and walkthrough video — slots are ready for these assets.