Social Sync is a dynamic social media platform enabling users to connect, share moments, and engage with their network. Developed on the MERN stack (MongoDB, Express.js, React, Node.js), it leverages Cloudinary for seamless media storage.
- User Authentication: Robust authentication system with JWT.
- Profile Management: Customize profiles, add a profile picture, and share details.
- Post Creation: Share text and media-rich posts with your network.
- News Feed: Stay updated with posts from connections.
- Real-time Interaction: Like, dislike, comment, and interact with posts in real-time.
- Comment Replies: Engage in threaded conversations with the ability to reply.
- Dark and Light Mode: Choose your preferred theme for a personalized experience.
- Email Verification: Users can log in after proper email verification.
- Password Management: Reset or forget password functionality via email.
- Cloudinary Integration: Seamlessly upload and store media content using Cloudinary.
-
Frontend:
- React
- React Router
- Redux for state management
- Axios for API requests
-
Backend:
- Node.js
- Express.js
- MongoDB for database
- Mongoose for ODM
- JWT for authentication
- Node Mailer for email functionality
-
Cloud Services:
- Cloudinary for media storage
-
Clone the repository:
git clone https://github.com/D-4-DIBAKAR/SocialSync.git cd socialSync
| Endpoint | Method | Middleware |
|---|---|---|
| Authentication Routes | ||
/register |
POST | None |
/login |
POST | None |
/verify/:userId/:token |
GET | None |
/request-passwordreset |
POST | None |
/reset-password/:userId/:token |
GET | None |
/reset-password |
POST | None |
| User Routes | ||
/get-user/:id? |
POST | userAuth |
/update-user |
PUT | userAuth |
| Friend Request Routes | ||
/friend-request |
POST | userAuth |
/get-friend-request |
POST | userAuth |
/accept-request |
POST | userAuth |
| Profile Views | ||
/profile-view |
POST | userAuth |
| Suggested Friends | ||
/suggested-friends |
POST | userAuth |
| Post Routes | ||
/create-post |
POST | userAuth |
/ |
POST | userAuth |
/:id |
POST | userAuth |
/get-user-post/:id |
POST | userAuth |
/comments/:postId |
GET | userAuth |
/like/:id |
POST | userAuth |
/like-comment/:id/:rid? |
POST | userAuth |
/comment/:id |
POST | userAuth |
/reply-comment/:id |
POST | userAuth |
/:id |
DELETE | userAuth |






