Skip to content

🏭 Intelli Factory App β€” Role-based B2B2C workflow platform for manufacturing & logistics. React + Express + PostgreSQL + BullMQ + Redis.

License

Notifications You must be signed in to change notification settings

Luxenonbeterris/intelli-factory

Repository files navigation

React Express Postgres Redis License: AGPLv3


🏭 Intelli Factory App

Role-based B2B2C workflow platform 🌐 Check out the live site β†’ intelli-factory.xyz


πŸ“Έ Screenshots

πŸ“Έ View screenshots

Homepage

Register

✨ Overview

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.

⚠️ Current stage: homepage + registration flow live; user account features in development.


πŸ— Architecture

-	client/ β†’ React app (Vite, Zustand, Tailwind).
-	server/ β†’ Express API (PostgreSQL + Prisma).
-	workers/ β†’ BullMQ + Redis (async email + background jobs).

βš™οΈ Technology Stack

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

πŸš€ Local Development

pnpm install
pnpm start

🧩 Process Flow

  1. Customer submits a request.
  2. Factories provide offers.
  3. Logistics providers quote delivery.
  4. System compiles the optimal factory + logistics combination.
  5. 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.

🚦 Git Workflow

  • βœ… Prettier + ESLint auto-run on commit.
  • βœ… Commitlint enforces Conventional Commits.
  • βœ… Signed commits supported.

Example:

git commit -m "feat(auth): add email verification flow"

πŸ“œ License

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.

πŸ† Summary

  • βš™οΈ 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.

About

🏭 Intelli Factory App β€” Role-based B2B2C workflow platform for manufacturing & logistics. React + Express + PostgreSQL + BullMQ + Redis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published