Role-based B2B2C workflow platform π Check out the live site β intelli-factory.xyz
A role-based B2B2C platform prototype β designed to simulate real manufacturing/logistics workflows while showcasing my full-stack engineering skills.
How it works:
- π€ Customers β submit requests and see only final compiled offers (factory + logistics), with transparent commissions.
- π Factories β receive only relevant requests and decide whether to respond, helping increase sales.
- π Logistics providers β get just the details they need (volume, route, delivery specs) to quote efficiently.
- π€ System β automatically compiles factory + logistics into a single best offer for the customer.
β Everyone gets exactly what they need β no more, no less.
π Deployed with multilingual support: English, Russian, Chinese.
- client/ β React app (Vite, Zustand, Tailwind).
- server/ β Express API (PostgreSQL + Prisma).
- workers/ β BullMQ + Redis (async email + background jobs).
Layer | Tools |
---|---|
Frontend | React, Vite, Zustand, Tailwind CSS |
Backend | Express, Prisma, PostgreSQL |
Auth | JWT, Email Verification |
Background | BullMQ, Redis (workers for async jobs) |
Workflow | pnpm workspaces (monorepo) |
Deployment | Vercel (client), Render (server) |
Git & QA | ESLint, Prettier, Husky, Commitlint, GPG |
pnpm install
pnpm start
- π₯ Server β http://localhost:3001
- π Client β http://localhost:5173
- Customer submits a request.
- Factories provide offers.
- Logistics providers quote delivery.
- System compiles the optimal factory + logistics combination.
- Customer sees final offer (including commission) and can accept.
Prisma DB models include:
Prisma DB Models
user
β accounts (customer, factory, logistic).customer_request
,factory_offer
,logistics_request
,logistic_offer
.compiled_offer
β merged view for customer.final_offer
β locked contract after acceptance.
- β Prettier + ESLint auto-run on commit.
- β Commitlint enforces Conventional Commits.
- β Signed commits supported.
Example:
git commit -m "feat(auth): add email verification flow"
GNU Affero General Public License v3 (AGPLv3)
- β Share and showcase code freely.
- β Others may learn and contribute.
- β No one can take it private, build a SaaS on top, and profit without open-sourcing their changes.
- βοΈ Practical role-based workflow system for manufacturing/logistics.
- π» Demonstrates frontend, backend, async jobs, deployment, multilingual UI.
- π§ Work-in-progress but production-ready structure.
- π― Balanced between a real-world B2B2C solution and a portfolio showcase.