Skip to content

Himindu-Kularathne/wts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

191 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠 Worker Trust System (WTS)

React Native Expo Redux Supabase Resend Twilio

System Introduction

A location-based worker marketplace that connects customers with trusted local workers such as plumbers, electricians, and technicians — starting in Sri Lanka 🇱🇰.

Built with React Native (Expo) and Supabase, WTS focuses on verified registrations, geo-based matching, and future trust scoring.

🚀 Features

👷 Worker Registration

  • Full name, phone, email

  • Category selection (plumber, electrician, etc.)

  • Work photo / ID upload

  • Province / district / city auto-detection

  • Latitude & longitude storage

📍 Smart Location Mapping

  • Uses device GPS

  • Reverse geocoding

  • Maps coordinates to Sri Lanka provinces/districts

  • Handles “Allow Once” permission edge case correctly

🌍 Multi-Language Support

The application supports three languages:

  • 🇬🇧 English
  • 🇱🇰 Sinhala (සිංහල)
  • 🇱🇰 Tamil (தமிழ்)

🛡 SMS and Email Integration

  • Admins receive an email when a worker sends application , through which they can approve or reject.

  • Once admin approves, the new worker will receive a deep link through SMS.

  • Using the deep link , the worker can reset his password and use the app.

☁ Supabase Backend

  • PostgreSQL database

  • Storage bucket for worker images

  • Edge functions for notifications

⚙️ System Architecture

System Architecture

App images

⚙️ Setup

1️⃣ Clone the repository

git clone https://github.com/Himindu-Kularathne/wts.git
cd worker-trust-system

2️⃣ Install dependencies

npm install

3️⃣ Create .env

Create a .env file in the root directory:

EXPO_PUBLIC_SUPABASE_URL=your-url
EXPO_PUBLIC_SUPABASE_ANON_KEY=your-key

4️⃣ Start development

npx expo start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors