- Frontend: Next js App Router with Javascript & Tailwind CSS
- Backend: Express.js with Mongodb
- Styling: Tailwind CSS, NextUI, Shadcn
- Icons: React Icons, Lucide React
- Form Handling: Formik with Yup validation
- Live feed: Socket.io
- Image Storage: Cloudinary
- AI-Assisted Development: V0.dev, ChatGPT, Gemini
- Utilities: util
-
User Authentication & Authorization
- Sign up / Log in / Log out
- JWT-based authentication
- Password hashing (bcrypt)
-
User Profiles
- View profile
- Edit profile (name, bio, address, education, work etc)
- Follow / Unfollow users
-
Posts
- Create post (text)
- Read posts (feed)
- Update post
- Delete post
-
Likes / Reactions
- Like / Unlike posts
- Display number of likes
-
Comments
- Add comment
- Edit comment
- Delete comment
-
Feed / Timeline
- Display posts from followed users
-
Search
- Search users by name
-
Notifications
- Notify when someone likes a post
- Notify when someone comments
- Notify when someone follows
-
Post Media
- Upload images with posts
-
Profile Customization
- Edit name, bio, address, education, work etc
-
Real-time Feed Updates
- Live updates for posts
- Live likes/comments count
-
Direct Messaging (DMs)
- Chat between users
- Real-time using Socket.io
- Live notification for unread messages
- Display Read / unread messages
-
Cloud Setup Integration
- Mongodb Atlas for database
- Cloudinary setup for image storage
- Deployment
- Deployed frontend to vercel
- Deployed backend to render
-
Clone the repository
git clone https://github.com/adityaspaudel/socialmedia.git -
Install dependencies for both the client and server
cd client pnpm install cd ../server pnpm install -
Set up environment variables Create a
.envfile in the root directory of both the client and server and add necessary variables. -
Run the development server
cd MeroSanjal/client pnpm devFor the backend server:
cd ../server pnpm dev -
Open http://localhost:3000 with your browser to see the frontend.
-
Backend server will run on http://localhost:8000 by default.
- Frontend (Vercel): https://merosanjal.vercel.app
- Backend (Render): https://merosanjal-vcjx.onrender.com







