# LoadLink Rwanda
A digital freight marketplace and escrow payment platform that connects shippers with verified transport companies across Rwanda.
---
## 🎥 Demo Video
**Shipper + Company:**
loom.com
**Admin:**
loom.com
## Table of Contents
- Overview
- Features
- Tech Stack
- Project Structure
- Getting Started
- Prerequisites
- Installation
- Environment Variables
- Database Setup
- Running the App
- API Endpoints
- Database Schema
- User Roles
- Shipment Lifecycle
---
## Overview
LoadLink Rwanda is a full-stack web platform built to solve a real problem in Rwanda's freight industry — the lack of a structured, trusted marketplace between shippers and transport companies.
The platform allows:
- **Shippers** to post transport requests with cargo details, pricing, and pickup dates
- **Transport companies** to register their trucks, get verified by admin, and express interest in shipments
- **Admins** to verify companies, monitor shipments, manage disputes, and oversee escrow payments
Payments are held in **escrow** until delivery is confirmed, protecting both parties. If a shipper does not confirm within 24 hours of delivery, the system auto-confirms and releases funds automatically.
---
## Features
### Shipper
- Register and log in
- Post shipments with pickup/dropoff district, cargo description, weight, price, and date
- View all trucks that expressed interest, sorted by truck rating
- Select a truck and pay escrow via MTN Mobile Money or Airtel Money
- Confirm delivery or report an issue
- Submit a rating after completion
### Transport Company
- Register with company documents and multiple trucks in one form
- Await admin verification before accessing shipments
- Browse posted shipments and express interest using a specific available truck
- Mark pickup and delivery for active sh …