Prerequisites
- Node.js 18+ — the repo targets the current LTS.
- npm — ships with Node.
- A free Supabase project (see Supabase setup).
- A Meta WhatsApp Business account (see WhatsApp setup).
1 — Fork & clone
# Fork on GitHub, then:
git clone https://github.com/<you>/wup.git
cd wup
2 — Install dependencies
npm install
3 — Create .env.local
Copy the example and fill in the blanks — see Environment variables for the full reference.
cp .env.example .env.local
4 — Apply Supabase migrations
Run the SQL files under supabase/migrations/ against your Supabase project. Each file is numbered; apply them in order via the SQL Editor or the Supabase CLI.
5 — Start the dev server
npm run dev
Open http://localhost:3000 — sign up with email + password, then head to Settings → WhatsApp to paste your credentials.