Spaces:
Sleeping
Sleeping
File size: 2,247 Bytes
b50c709 94c9882 b50c709 94c9882 b50c709 94c9882 b50c709 94c9882 862389f 94c9882 862389f 94c9882 862389f 94c9882 862389f 94c9882 862389f 94c9882 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | ---
title: Cellex Web
emoji: ποΈ
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
license: mit
short_description: Nigeria's #1 social commerce marketplace (Next.js)
---
# Cellex β Nigeria's #1 Social Commerce Marketplace
Next.js 16 (App Router) frontend for the Cellex platform β a Nigerian social ecommerce
marketplace with live shopping, group buys, AI-powered discovery, and unified WhatsApp + Telegram
cross-platform shopping.
## What's inside
- **Buyer flow**: home, product detail, cart, checkout, PalmPay bank-transfer payment, orders, wishlist, profile
- **Discovery**: categories, search, seller storefronts, video feed, trending, AI recommendations
- **Live shopping**: browse live sessions, watch with real-time chat, featured product buy
- **Group buys**: Pinduoduo-style group discounts unlocked at target count
- **Cross-platform**: link WhatsApp bot with unified cart, Telegram channel alerts
- **Seller center**: dashboard, product CRUD, orders, profile, go-live, product videos, 24h stories
## Architecture
- Frontend: Next.js 16 App Router + React + TypeScript + Tailwind CSS 4 + shadcn/ui
- Backend: 27 Supabase Edge Functions (Deno) β unchanged from prior phases
- Auth: HTTP-only cookies β `web_sessions` table β JWT verify in edge functions
- Payment: PalmPay bank transfer with Gmail-IMAP auto-verification (Render bot)
- AI: Qwen2.5-72B powering product recommendations and shopping assistant
## Deployment
This Space uses the **Docker SDK**. The Dockerfile:
1. Builds the Next.js app with `output: "standalone"`
2. Copies the standalone server + static assets to a slim Node 20 image
3. Serves on port **7860** (HF Spaces default)
## Environment variables (set in HF Space settings)
```
SUPABASE_URL=https://tcwdbokruvlizkxcpkzj.supabase.co
SUPABASE_ANON_KEY=... (Supabase anon key)
SUPABASE_SERVICE_KEY=... (optional, only if you upload videos via web-server)
GMAIL_EMAIL=... (optional, only if running payment verifier here)
GMAIL_APP_PASSWORD=...
```
> **Note**: Most existing edge functions, the payment verifier, and WhatsApp/Telegram bots
> are NOT run here β they continue running on Render / Supabase. This Space only hosts the
> Next.js web frontend.
|