Coverage so light and flexible, it feels weightless.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Hey! Welcome to the repo for OffShift. We're proudly building this platform for the DEVTrails 2026 Hackathon. 🏆
As 3rd-year CS students, we noticed a massive gap in how modern labor works versus how traditional insurance operates. We decided to build a platform that actually respects the gig worker.
The "gig economy" (delivery riders, freelance drivers, task-based workers) is booming. However, insurance companies still treat these workers like 9-to-5 employees with strict, expensive, and heavy 24/7 policies.
If a delivery rider only works for 4 hours a day on weekends, why are they paying full-time premiums? Furthermore, the claims process involves mountains of PDF paperwork, manual verifications, and weeks of waiting—time these workers cannot afford to lose. Traditional insurance is fundamentally broken for the modern, fast-paced "gig" lifecycle.
We built OffShift to provide "Zero-G" insurance—coverage so flexible, algorithmic, and lightweight that it feels completely frictionless. OffShift is an on-demand, mobile-first micro-insurance platform that adapts directly to the worker's shift using API-driven embedded insurance middleware.
Here is how OffShift completely redefines gig insurance for Users, Agents, and Companies:
At the core of the worker's app is a massive, visually satisfying toggle button.
- Frictionless Activation: You flip it ON when your shift starts (e.g., accepting a Zomato order). You flip it OFF when you're done.
- Micro-Pricing: You only pay for the exact hours/minutes you are exposed to risk. The premium is calculated dynamically in real-time on your screen.
Why punish bad drivers when you can reward good ones?
- Sensor Integration: We utilize the native mobile gyroscope and GPS to track speed and breaking habits safely in the background.
- Unlockable Rewards: We gamify the experience. Maintain a "Safe Driver" streak for 15 hours and automatically unlock a 20% discount coupon applied directly to your future micro-premiums.
The old way of filing a claim using a 40-page PDF is dead.
- Smart Triggers: If a telematics algorithm detects a severe impact and is mutually backed by a hospital API or gig platform (like an SOS button press), a "Parametric Smart Contract" is triggered.
- Instant Payout: The pre-determined claim amount is blasted directly into the gig worker's pre-registered UPI Wallet via instant API transfer, skipping human adjusters entirely for micro-claims.
We aren't just a consumer app; we are an infrastructure play.
- Embedded Insurance: Using our Node.js microservices, massive gig platforms like Urban Company or Uber can plug our "Toggle" API directly into their own partner apps.
- Broker Command Center: Agents get access to a powerful data-dense dashboard to upload CSVs, bulk auto-KYC fleets, and monitor active worker heatmaps in real-time.
We carefully selected our tech stack to prioritize rapid prototyping, blazing-fast performance, and a stunning "dark mode" aesthetic suitable for a hackathon timeline.
- The industry standard. We chose React for its component-based architecture allowing us to perfectly isolate our complex "Toggle" logic.
- Next.js is great, but Vite provides the ultimate lightning-fast Hot Module Replacement (HMR) for incredibly fast SPA rendering during hackathons.
- We heavily rely on Tailwind for rapid styling, focusing heavily on glassmorphism, neo-brutalism, and ultra-high contrast dark modes without writing custom CSS files.
- Our primary runtime for handling real-time API requests and writing our parametric claim webhooks.
- Lightweight and unopinionated framework to scaffold our RESTful architecture.
- Supabase (PostgreSQL) is the absolute MVP of our stack. It gives us out-of-the-box secure authentication, row-level security policies (RLS), and real-time database subscriptions (vital for syncing the mobile App toggle with the Agent Dashboard dashboard instantly).
To get a local copy up and running, follow these simple example steps.
Make sure you have Node.js and npm installed on your machine.
- npm
npm install npm@latest -g
- Get your Supabase API Keys at https://supabase.com
- Clone the repo
git clone https://github.com/SHIVIKA330/OffShift.git
- Install NPM packages
cd offshift npm install - Enter your API in
.envVITE_SUPABASE_URL='ENTER YOUR SUPABASE URL' VITE_SUPABASE_ANON_KEY='ENTER YOUR SUPABASE ANON KEY'
Right now, we are wrapping up Phase 1: Foundation. We've mapped out the DB schemas, our API routes, and got the repository skeleton ready.
users: The gig workers (id, name, upi_id, driving_score)policies: The available bundles (id, name, hourly_rate)active_sessions: The "Toggle" states (id, user_id, start_time, end_time, total_premium)claims: Handled via smart-contract/admin override.
- Phase 1: Foundation (Architecture & DB Schemas)
- Phase 2: Core UX (The Mobile Toggle & Agent UI)
- Phase 3: Logic (Telematics integration & Micro-premiums)
- Phase 4: Innovation (Smart Claims & UPI Integrations)
- Phase 5: Polish & Pitch Preparation
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
![]() Shivika |
![]() Tejika |
![]() Nomita |
![]() Yuvika |
![]() Love |
OffShift Team - DEVTrails 2026 - shivikaj47@gmail.com
Project Link: https://github.com/SHIVIKA330/OffShift




