Skip to content
Β 
Β 

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

LogiTrack β€” Smart Supply Chain & Delivery Management Platform

πŸš€ Project Overview

LogiTrack is a full-stack logistics and delivery management platform designed for small businesses to manage:

  • πŸ“¦ Products & Inventory
  • 🧾 Orders
  • 🚚 Deliveries & Delivery Agents
  • πŸ“Š Business Analytics
  • πŸ‘₯ Multi-role Authentication
  • πŸ›’ Customer Ordering System

The platform provides real-time operational visibility with modern dashboards, scalable backend APIs, and responsive UI experiences.


🌟 Features

πŸ‘¨β€πŸ’Ό Business Owner Dashboard

πŸ“¦ Product Management

  • Add/Edit/Delete products
  • Product image support
  • SKU management
  • Stock quantity management
  • Category filtering

πŸ“Š Inventory Management

  • Low stock alerts
  • Inventory overview
  • Dynamic stock updates
  • Real-time inventory tracking

🧾 Order Management

  • Incoming customer orders
  • Payment status tracking
  • Order lifecycle management
  • Customer details

🚚 Delivery Management

  • Assign delivery agents
  • Delivery tracking
  • Delivery status updates
  • Route overview

πŸ“ˆ Analytics Dashboard

  • Revenue tracking
  • Total orders
  • Sales growth
  • Low stock analytics
  • Delivery statistics

🚚 Delivery Agent Module

  • Assigned delivery list
  • Delivery status updates
  • Delivery tracking
  • Mobile responsive UI
  • Earnings simulation

πŸ›’ Customer Module

  • Browse products
  • Place orders
  • Order tracking
  • Checkout flow
  • Delivery status monitoring

🧠 AI Features (Planned / Simulated)

  • Demand Forecasting
  • Smart Auto-Assign
  • Customer Churn Prediction

πŸ›  Tech Stack

Frontend

  • Next.js (App Router)
  • TypeScript
  • Tailwind CSS
  • Recharts
  • Lucide React

Backend

  • Node.js
  • Express.js
  • MongoDB Atlas
  • Mongoose

Database

  • MongoDB Atlas

πŸ“ Project Structure

LogiTrack/
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ lib/
β”‚   └── public/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ config/
β”‚   β”‚   β”œβ”€β”€ controllers/
β”‚   β”‚   β”œβ”€β”€ middleware/
β”‚   β”‚   β”œβ”€β”€ models/
β”‚   β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   └── server.js
β”‚   β”‚
β”‚   β”œβ”€β”€ .env
β”‚   └── package.json
β”‚
└── README.md

βš™οΈ Installation & Setup

1️⃣ Clone Repository

git clone <your-repo-url>
cd LogiTrack

πŸ”₯ Backend Setup

Install Dependencies

cd backend
npm install

Create .env

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

Start Backend Server

npm run dev

Backend runs on:

http://localhost:5000

🎨 Frontend Setup

Install Dependencies

cd frontend
npm install

Start Frontend

npm run dev

Frontend runs on:

http://localhost:3000

πŸ“‘ Backend API Endpoints

πŸ“¦ Products

GET    /api/products
POST   /api/products
PUT    /api/products/:id
DELETE /api/products/:id

🧾 Orders

GET    /api/orders
POST   /api/orders
PUT    /api/orders/:id/status
DELETE /api/orders/:id

πŸ“Š Inventory

GET    /api/inventory
GET    /api/inventory/low-stock
PUT    /api/inventory/:productId

🚚 Deliveries

GET    /api/deliveries
POST   /api/deliveries
PUT    /api/deliveries/:id
DELETE /api/deliveries/:id

πŸ“ˆ Analytics

GET /api/analytics

πŸ“ˆ Current Status

  • βœ… Backend APIs completed
  • βœ… MongoDB integration completed
  • βœ… Frontend-backend integration completed
  • βœ… Dynamic dashboards implemented
  • βœ… Inventory management completed
  • βœ… Order management completed
  • βœ… Delivery management completed

πŸš€ Future Improvements

  • Real-time WebSockets
  • AI-powered forecasting
  • Razorpay/Stripe payments
  • Route optimization with Leaflet.js
  • JWT Authentication
  • Role-based authorization
  • Notification system

πŸ“„ License

This project is developed for DevFusion Hackathon 2.0.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors