Загрузка...

Day 61: Privacy Page + Follow Requests System Built 🚀 | Private Account Logic | Vibeshared

Day 61 – Privacy Page + Follow Request System 🚀

Website : www.vibeshared.com
Aaj Day 61 pe maine platform ka Privacy Page build kiya aur saath hi Follow Requests management system implement kiya.

Ab user apna account Private / Public toggle kar sakta hai

aur private hone par follow requests manually accept ya reject kar sakta hai.

Bilkul real social media apps jaisa behavior 🔒

✅ Aaj kya implement kiya:

🔒 Privacy Settings Form
React Hook Form integration
Zod validation
isPrivate toggle switch
API sync via custom hook
Optimized payload update (only changed fields)
Toast feedback system

👥 Follow Requests System

/api/follow/requests fetch
Accept request (PATCH)
Reject request (DELETE)
Real-time UI removal after action
Clean follower card UI

🎯 Private Account Flow

User enables Private Account
Follow button → becomes Request
Owner sees request in settings

Owner can:

Accept ✅
Reject ❌
Engagement + access control layer complete.
🔧 Tech Focus

Next.js Client Components
React Hook Form + Zod
Mutation hooks
Conditional payload updates
Follow request API handling
Clean UX feedback with Toast

📌 About the Series

Building a Social Media Platform
Build in Public
Day 61
Privacy & Access Control Layer Completed 🔥

👉 Subscribe to follow the journey
👉 Like to support
👉 Comment if next: Block user system UI

Видео Day 61: Privacy Page + Follow Requests System Built 🚀 | Private Account Logic | Vibeshared канала vibeshared
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять