Skip to content

ishansingh7/DeliveryShield-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ DeliveryShield โ€“ AI-Powered Parametric Insurance Platform

๐Ÿ“Œ Overview

DeliveryShield is an AI-driven parametric insurance platform designed for Indiaโ€™s gig economy workers such as delivery partners from Zomato, Swiggy, Amazon, and similar platforms.

The platform provides automated income protection against external disruptions like extreme weather, pollution, and curfews, ensuring that gig workers do not lose their earnings due to uncontrollable conditions.

Unlike traditional insurance, DeliveryShield uses parametric triggers + AI models to enable instant claim processing and payouts without manual intervention.


๐ŸŽฏ Problem Statement

Gig workers often lose 20โ€“30% of their income due to:

  • ๐ŸŒง Heavy rain or floods
  • ๐ŸŒก Extreme heat
  • ๐ŸŒซ High pollution
  • ๐Ÿšซ Curfews or strikes

Currently, there is no reliable income protection system, forcing workers to bear financial losses alone.


๐Ÿ’ก Our Solution

DeliveryShield provides a smart, secure, and automated platform with:

  • ๐Ÿ” AI-based fraud detection
  • ๐Ÿ“Š Risk assessment engine
  • ๐Ÿ“ Location-based safety alerts
  • ๐Ÿ‘ค User authentication & verification
  • โšก Automated claim triggering & instant payouts
  • ๐Ÿ“ฑ Mobile app for delivery agents
  • ๐ŸŒ Web dashboard for monitoring and analytics

โš ๏ธ Constraints Followed

  • โŒ No health insurance
  • โŒ No accident or vehicle coverage
  • โœ… Only loss of income protection
  • โœ… Weekly pricing model only
  • โœ… Fully automated claims system

๐Ÿ—๏ธ System Architecture

๐Ÿ”น Components

  • Frontend (Web): React.js + Vite + CSS
  • Mobile App: React Native (Expo)
  • Backend: Node.js + Express.js
  • Database: MongoDB
  • AI & Security: Risk scoring + fraud detection algorithms
  • APIs: OpenWeather API (or mock APIs)
  • Payments: Razorpay (test mode / simulated)

๐Ÿ”„ Workflow

  1. User registers/login
  2. AI calculates weekly premium
  3. User buys insurance policy
  4. System monitors external disruptions
  5. Trigger detected (e.g., heavy rain)
  6. Claim automatically generated
  7. Instant payout processed

๐Ÿง  Key Features

๐Ÿ‘ค User Features

  • Secure login & registration (JWT)

  • Dashboard showing:

    • Active policy
    • Weekly premium
    • Earnings protected
    • Claim history
  • Buy weekly insurance

  • View automatic payouts


๐Ÿ›  Admin Features

  • Monitor users and policies
  • Claims analytics dashboard
  • Fraud detection logs
  • Risk insights & reports

โš™๏ธ Core Functional Modules

๐Ÿค– AI Risk Assessment

  • Dynamic weekly premium calculation

  • Based on:

    • Location risk
    • Weather patterns
    • Working hours

โšก Parametric Triggers

Automatically detects:

  • ๐ŸŒง Heavy Rain
  • ๐ŸŒก Extreme Heat
  • ๐ŸŒซ Pollution
  • ๐Ÿšซ Curfew (mock data)

๐Ÿ”„ Automated Claim System

  • No manual claim submission
  • Auto-triggered claims
  • Instant approval and payout

๐Ÿ•ต๏ธ Fraud Detection

  • Detects duplicate claims
  • Prevents fake weather claims
  • Simulated GPS spoofing detection

๐Ÿ’ณ Payment System

  • Instant payout simulation
  • Transaction tracking

๐Ÿงฑ Tech Stack

๐ŸŒ Frontend

  • React.js
  • Vite
  • CSS

โš™๏ธ Backend

  • Node.js
  • Express.js
  • MongoDB

๐Ÿ“ฑ Mobile App

  • React Native (Expo)

๐Ÿค– AI & Security

  • Fraud Detection Algorithms
  • Risk Scoring System
  • API-based Threat Analysis

๐Ÿ“ Project Structure

DeliveryShield/
 โ”œโ”€โ”€ backend/        # Node.js + Express API
 โ”œโ”€โ”€ frontend/       # React Web App
 โ”œโ”€โ”€ mobile-app/     # React Native App (Expo)
 โ”œโ”€โ”€ .gitignore
 โ”œโ”€โ”€ README.md

๐Ÿ”— API Endpoints

Auth

  • POST /auth/register
  • POST /auth/login

Policy

  • POST /policy/create
  • GET /policy/view

Claims

  • GET /claim/auto-trigger
  • GET /claim/history

Admin

  • GET /admin/users
  • GET /admin/analytics

๐Ÿ” Demo Scenario

Example Use Case

  • User: Swiggy delivery partner
  • Weekly premium: โ‚น30
  • Event: Heavy rain
  • Income loss: โ‚น800

System Flow

  1. Weather API detects rain
  2. System triggers claim automatically
  3. AI calculates loss
  4. Claim approved instantly
  5. โ‚น800 payout shown in dashboard

โš™๏ธ Installation & Setup

๐Ÿ”ง 1. Clone Repository

git clone https://github.com/hitesh788/DeliveryShield.git
cd DeliveryShield

๐Ÿ”ง 2. Backend Setup

cd backend
npm install
npm start

๐Ÿ”ง 3. Frontend Setup

cd frontend
npm install
npm run dev

๐Ÿ”ง 4. Mobile App Setup

cd mobile-app
npm install
npx expo start

๐Ÿ” Environment Variables

Create a .env file inside backend/:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
OPENWEATHER_API_KEY=your_api_key

โœจ Key Features

โœ… Real-time fraud detection โœ… AI-based risk analysis โœ… Secure authentication system โœ… Claims & policy management โœ… Mobile interface for delivery agents โœ… Web dashboard for monitoring โœ… API integration for external risk data


๐Ÿ“ธ Screenshots

(Add before submission)

  • Web Dashboard
  • Login/Register UI
  • Mobile App Screens
  • Alerts & Notifications

๐Ÿš€ Future Enhancements

  • ๐Ÿ”ฎ Advanced ML-based fraud prediction
  • ๐Ÿ“ก Live GPS tracking
  • ๐Ÿ”— Integration with delivery platforms (Swiggy, Zomato)
  • ๐Ÿ”Š Voice-based emergency alerts
  • ๐Ÿง  AI chatbot for assistance

๐ŸŒ Impact

  • Provides financial security to gig workers
  • Reduces income uncertainty
  • Promotes micro-insurance adoption
  • Supports Indiaโ€™s gig economy

๐Ÿ† Hackathon Submission

Developed for: Guidewire DEVTrails University Hackathon 2026


๐Ÿ“œ License

This project is created for educational and hackathon purposes.


โค๏ธ Acknowledgements

  • Open-source community
  • Hackathon organizers
  • Cybersecurity & AI research resources

โญ Support

If you like this project, give it a โญ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors