Goal
Make communities the main organizing unit.
This phase moves beyond a global feed. Posts now belong to named communities with URLs, rules, and basic moderator permissions.
Build
- Community creation and edit screens.
- Community pages with newest and top post sorting.
- Moderator list, community rules, and simple access checks.
- Text posts and link posts with clear validation.
Concepts
- Authorization and ownership.
- Slugs and unique constraints.
- Relational modeling for communities, posts, users, and moderators.
- Server-side validation as the source of truth.
Prompt stub
Expansion prompt
Add subreddit-like communities to the existing MVP.
Keep the architecture simple.
Add community pages, moderator permissions, rules, and text/link post types.
Do not add threaded comments, search, media uploads, caching, or queues yet.
Done means
- Every post belongs to a community.
- Community pages are useful logged in or logged out.
- Moderators can edit rules and basic community settings.
- The learner understands authorization before moderation gets complex.