996 B
996 B
Twitter Clone Backend (custom_twitter_clone_001)
Objective
Build a Twitter-like backend with user profiles, follow/unfollow, tweet creation, timeline fan-out/fan-in retrieval, likes, replies, reposts, hashtag search, and notification delivery.
Language & Library Constraints
- Primary language: node
- Available libraries: express, prisma, zod, bullmq, redis
- Use library APIs explicitly where suitable in execution contracts.
Functional Requirements
- Auth endpoints for register/login/session refresh.
- Tweet CRUD with soft-delete and edit-history metadata.
- Follow graph management and privacy controls.
- Home timeline generation with pagination and ranking hooks.
- Mentions/hashtags indexing and search endpoint.
- Notification queue and retry-safe delivery worker.
Acceptance
- Deterministic taskitems with strict execution contracts.
- Include selected library and preferred APIs when applicable.
- Multi-file artifact targets for API, data model, worker, and tests.