Initial commit: WaMarket MVP

Marketplace inversée (Next.js 16 App Router + Supabase Cloud) : auth,
schéma + RLS, publication de besoins avec upload d'images, feed avec
filtres, offres, acceptation via RPC, messagerie temps réel,
dashboards, et Dockerfile pour déploiement Coolify.
This commit is contained in:
2026-07-30 14:33:17 +00:00
commit af81124d48
82 changed files with 16824 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { createClient } from "@/lib/supabase/server";
export async function getCategories() {
const supabase = await createClient();
const { data } = await supabase
.from("categories")
.select("id, name, slug")
.order("name");
return data ?? [];
}