Skip to content

White-Devil2839/FlowChain-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšš FlowChain AI Intelligent Supply Chain Management Platform (v1)

FlowChain AI is a full-stack intelligent supply chain management system designed to manage orders, inventory, warehouses, and shipments, while providing rule-based intelligence, analytics, and real-time alerts โ€” all without using machine learning.

This project focuses on system design, backend logic, clean UI/UX, and real-world workflows, making it suitable for enterprise-style applications.

๐Ÿง  Why FlowChain AI?

Most student projects stop at CRUD apps or basic dashboards. FlowChain AI goes further by introducing:

Intelligent alert systems

Rule-based forecasting and insights

Multi-role access control

Real-time operational visibility

It is built to simulate how real supply chain software works in production.

โœจ Key Features ๐Ÿ” Authentication & Authorization

Email & password authentication

JWT-based secure sessions

Role-based access control (RBAC)

Protected routes (frontend + backend)

๐Ÿ“ฆ Inventory & Warehouse Management

Multiple warehouses support

Product-warehouse inventory tracking

Stock movement logging (inbound/outbound)

Configurable low-stock thresholds

Inventory health indicators

๐Ÿ›’ Order Management

Customer order placement

Complete order lifecycle:

Created โ†’ Confirmed โ†’ Packed โ†’ Shipped โ†’ Delivered

Automatic inventory deduction

Order history and tracking

๐Ÿšš Shipment Tracking

Shipment creation linked to orders

Delivery status timeline

Estimated delivery time (rule-based)

Delay detection using historical averages

Map-based shipment visualization

โš ๏ธ Intelligent Alert System (No ML)

Low stock alerts

Shipment delay alerts

High demand alerts

Alert severity levels:

Info

Warning

Critical

Alert resolution workflow

๐Ÿ“Š Analytics & Insights

Order volume trends

Demand moving averages

Fulfillment time analysis

Inventory health scoring

Auto-generated operational insights:

โ€œProduct X may run out in 4 daysโ€

โ€œWarehouse B has slower fulfillment timeโ€

๐Ÿ”” Notifications

In-app notifications

Triggered by:

Order status changes

Alerts

Shipment updates

๐Ÿ‘ฅ User Roles Role Access Admin System overview, analytics, user & threshold management Operations Manager Shipments, delays, fulfillment analytics Warehouse Manager Inventory, stock updates, warehouse alerts Customer Orders, tracking, notifications

Each role sees only relevant data.

๐Ÿ–ฅ๏ธ UI / UX Design

Dark mode by default

Clean, card-based layout

Data-dense dashboards

Consistent spacing and typography

Subtle animations for better UX

Designed for enterprise dashboards

๐Ÿงฑ Tech Stack Frontend

React (Vite)

JavaScript

Tailwind CSS

Chart.js (analytics & graphs)

Leaflet (maps)

Framer Motion (light animations โ€“ optional)

Backend

Node.js

Express.js

MongoDB

Mongoose

JWT Authentication

REST APIs

node-cron (scheduled tasks)

๐Ÿ—„๏ธ Database Design (MongoDB) Core Collections

users

warehouses

products

inventory

orders

orderItems

shipments

alerts

notifications

Relationships

User โ†’ Orders (1-to-many)

Order โ†’ OrderItems (1-to-many)

Order โ†’ Shipment (1-to-1)

Warehouse โ†’ Inventory (1-to-many)

Product โ†’ Inventory (1-to-many)

Alerts โ†’ Orders / Products / Shipments (polymorphic)

The schema is designed to be scalable and extensible.

๐Ÿง  Intelligence Without Machine Learning

FlowChain AI uses rule-based intelligence instead of ML:

Moving averages for demand trends

Threshold-based alert generation

Historical averages for ETA prediction

Heuristic scoring for risk detection

This ensures:

Full explainability

No black-box logic

Easy future ML integration

๐Ÿš€ Future Enhancements

Machine learning-based demand forecasting

Predictive delay analysis

Python microservice for advanced analytics

Redis-based background jobs

Dockerized deployment

External logistics API integration

๐ŸŽฏ What This Project Demonstrates

Full-stack development skills

Clean backend architecture

Real-world system design

Role-based access control

Data-driven dashboards

Production-style workflows

Strong UI/UX sense

๐Ÿ“Œ Ideal Use Cases

D2C brands

Small logistics companies

Warehouse operations teams

Supply chain analytics prototypes

๐Ÿง‘โ€๐Ÿ’ป Author

Divyansh Choudhary B.Tech (AI & ML) โ€“ 2nd Year Focused on building real-world, system-driven applications

Remember to update cors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published