Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ npm install

1. Create a new project on the [Supabase Dashboard](https://supabase.com/dashboard)
2. Navigate to **SQL Editor** → **New Query** → **Blank Query**
3. Copy the entire contents of [`supabase/schema.sql`](supabase/schema.sql) and paste into the editor
4. Click **Run** — this creates all tables, triggers, RLS policies, indexes, and seed data
3. Copy the entire contents of [`supabase/schema.sql`](supabase/schema.sql) and paste into the editor, then click **Run** to set up the core Q&A platform schema, triggers, RLS policies, indexes, and seed data.
4. Open another new query tab, copy the entire contents of [`supabase/migration.sql`](supabase/migration.sql) and click **Run** to set up the Reputation, Badge, and Leaderboard triggers, RPC functions, and achievement definitions.
5. In your Supabase Dashboard, go to **Database** → **Replication** → **Source** (select tables), and enable **Realtime** for `reputation_logs` and `user_badges` so points notifications and badge unlock popups trigger instantly in real-time.

**3. Storage Configuration**

Expand Down Expand Up @@ -571,7 +572,7 @@ To activate the admin moderation dashboard:
| 🚩 **Flag Review Queue** | Review and resolve community-flagged content |
| 📝 **Admin Notes** | Attach feedback notes to reviewed answers |
| 🔔 **Auto-Notifications** | Authors are notified of verification decisions in real-time |
| 🏆 **Reputation Management** | View and manage user reputation and badge assignments |
| 🏆 **Reputation & Badges** | Perform manual point adjustments (+/-), manually award or revoke badges for any member via an interactive management modal, and view live Leaderboard Analytics and recent reputation log feeds. |

---

Expand Down
196 changes: 14 additions & 182 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"dependencies": {
"@supabase/supabase-js": "^2.106.2",
"@vitalets/google-translate-api": "^9.2.1",
"framer-motion": "^12.40.0",
"fuse.js": "^7.3.0",
"lucide-react": "^1.17.0",
Expand Down
Loading