How grizzy100/anivartee works
Anivartee is a social platform where users publish and interact with posts, while fact-checkers claim queued claims and submit verdicts; community activity feeds a reputation-and-rank system. The Next.js client also supports account access and region-based subscriptions. The repository separates identity, post/moderation, points, and payment services. The README documents the client’s REST connection to these services and the product capabilities; source excerpts show selected service-layer calls. Unsampled routes and integrations are not expanded into asserted call chains.
Main entry points: api Client API modules · post.routes.ts Post routes · points.service.ts Points and ranks · app Next.js app
Components 24
Web client
- Next.js app
client/app - Community dashboard
client/components/dashboard - Login and signup
client/components/auth - Client API modules
client/lib/api
Identity
- Authentication routes
server/user-service/src/routes/auth.routes.ts - Authentication controller
server/user-service/src/controllers/auth.controller.ts - Authentication service
server/user-service/src/services/auth.service.ts - Profile service
server/user-service/src/services/profile.service.ts
Posts and verification
- Post routes
server/post-service/src/routes/post.routes.ts - Post repository
server/post-service/src/repositories/post.repository.ts - Feed services
server/post-service/src/services/feed.service.ts - Moderation queue
server/post-service/src/controllers/queue.controller.ts - Queue service
server/post-service/src/services/queue.service.ts - Queue repository
server/post-service/src/repositories/queue.repository.ts - Verdict routes
server/post-service/src/routes/verdict.routes.ts - Claim expiry job
server/post-service/src/jobs/claimExpiry.job.ts
Reputation
- Points controller
server/points-service/src/controllers/points.controller.ts - Points and ranks
server/points-service/src/services/points.service.ts - Points ledger
server/points-service/src/repositories/points.repository.ts
Subscriptions
- Subscription controller
server/payment-service/src/controllers/subscription.controller.ts - Subscription service
server/payment-service/src/services/subscription.service.ts - Stripe client
server/payment-service/src/integrations/stripe.client.ts
Other components
- Platform user
- Stripe
Connections 23
- Platform user → Next.js app: uses
README.md - Next.js app → Login and signup: renders
README.md - Next.js app → Community dashboard: renders
README.md - Login and signup → Client API modules: requests
- Community dashboard → Client API modules: requests
- Client API modules → Authentication routes: REST calls
README.md - Client API modules → Post routes: REST calls
README.md - Client API modules → Points controller: REST calls
README.md - Client API modules → Subscription controller: REST calls
README.md - Authentication routes → Authentication controller: routes to
server/user-service/src/routes/auth.routes.ts - Authentication controller → Authentication service: calls
server/user-service/src/controllers/auth.controller.ts - Post routes → Post repository: constructs
server/post-service/src/routes/post.routes.ts - Post routes → Queue service: constructs
server/post-service/src/routes/post.routes.ts - Moderation queue → Queue service: calls
server/post-service/src/controllers/queue.controller.ts - Verdict routes → Queue service: registers
server/post-service/src/routes/verdict.routes.ts - Claim expiry job → Queue repository: expires claims
- Points controller → Points and ranks: calls
server/points-service/src/controllers/points.controller.ts - Points and ranks → Points ledger: reads and writes
server/points-service/src/services/points.service.ts - Subscription controller → Subscription service: calls
server/payment-service/src/controllers/subscription.controller.ts - Subscription service → Stripe client: uses
server/payment-service/src/services/subscription.service.ts - Stripe client → Stripe: API calls
server/payment-service/src/integrations/stripe.client.ts - Post routes → Points and ranks: awards reputation
- Verdict routes → Points and ranks: rewards verdicts