Community builds
Community Builds
Supabase schema ready: users, comments, builds, ratings. No-auth mode works while you wire keys.
Build Library
Add new build via /api/builds →Ratings
POST to /api/ratings with target_type (unit|trait|build), target_id, value (1-5). UI can show averages from GET.
Comments
POST to /api/comments with page_type and page_id. Rate limiting + profanity placeholder guard included.
Schema
- users(id, display_name, created_at)
- comments(id, page_type, page_id, user_id, body, created_at)
- builds(id, user_id, title, mode, units_json, notes, created_at)
- ratings(id, target_type, target_id, user_id, value, created_at)
Patch 2.0.0Updated: 2025-12-25T00:57:51Z