# Forstock

Inventory and demand-planning platform for Shopify merchants, with reorder suggestions, purchase orders, suppliers, bundles, an AI assistant and a forecasting pipeline, estimated and advised on for the client's own engineering team.

- **Facts:** 2026, Built for a client, In progress, role: Project lead
- **What I did:** I led the project with 3 other developers. I made the estimate, identified the risks, analysed the client's existing code and advised on the planned extensions. I wrote no code on this project.
- **Scope:** advisor, estimate
- **Domain:** e-commerce
- **Stack:** NestJS, TypeScript, PostgreSQL, TypeORM, RabbitMQ, Redis, Next.js, React, Tailwind CSS, Python, Webhooks, Anthropic Claude API, Langfuse, OAuth, Socket.IO, Sentry, TanStack Query, next-intl, Zustand, Storybook, Vitest, Playwright, Jest, Puppeteer, GraphQL, React Hook Form, Shopify, Docker, TanStack Table, Base UI, shadcn/ui, nuqs, Zod, Recharts, OpenAPI, GitHub Actions, Husky, Prettier, Docker Compose, ESLint, PyTorch, OpenAI API, FastAPI, Axios, Cron jobs, date-fns, JWT, Claude Code, Motion, Knip, oxfmt, oxlint, pnpm, Kubernetes, Cloudflare Workers
- **Page:** https://sergey-petrinich.vercel.app/work/forstock

Capabilities:

- Reorder suggestions from a stock simulation using forecast demand and inbound purchase orders
- Demand plans per store with overrides at variant, product and bulk level
- Purchase orders created from reorder suggestions
- Suppliers and supplier products
- Bundles that turn component stock into bundle availability
- Shopify connection with initial, full and incremental sync through background workers
- Warehouse connections through a single adapter, planned
- Python forecasting pipeline with interchangeable models behind one interface
- Read-only AI assistant that runs as one short process per message
- Promotions as a forecast input, planned
- Several stores and sales channels under one organisation
- Planning by product at a physical location

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
