Task management for construction projects with WhatsApp integration.
- Create projects and assign tasks to workers
- Send tasks to workers via WhatsApp
- Workers reply with photo proof
- Real-time status tracking
- Employee monitoring dashboard
- Frontend: Vanilla JS + CSS (hosted on Vercel/Netlify)
- Backend: Supabase (Database, Auth, Storage)
- WhatsApp: Clawdbot integration
- Create a free account at supabase.com
- Create a new project
- Run the SQL in
supabase/schema.sqlin the SQL Editor - Create a storage bucket called
task-proofs - Copy your project URL and anon key
Create .env with:
VITE_SUPABASE_URL=your-project-url
VITE_SUPABASE_ANON_KEY=your-anon-key
npm install
npm run devPush to GitHub and connect to Vercel/Netlify for auto-deploy.
The app uses Clawdbot's WhatsApp gateway to:
- Send task assignments to workers
- Receive photo proofs from workers
- Update task status automatically
See CLAWDBOT.md for integration details.
We have added WhatsApp reply handling to the TaskMaster system. This feature allows the system to process WhatsApp messages for completing tasks, validate task codes, handle task image uploads, and update task statuses in the Supabase database.
- Listens for WhatsApp messages starting with
TASK#. - Validates the task code included in the message.
- Expects an image attachment with the message for processing.
- Updates the task's status in Supabase to
completedwhen validation succeeds. - Sends confirmation or error messages back to the sender.
- Setup
- Install required dependencies:
npm install(Ensure@adiwajshing/baileysis installed.) - Add your Supabase credentials to
supabase.jsor directly insrc/whatsappReplyHandler.js.
- Install required dependencies:
- Run
- Start the bot:
node src/whatsappReplyHandler.js.
- Start the bot:
- Process
- The bot listens for WhatsApp messages and processes them using the above logic.