A modern social media platform with real-time chat, built using the MERN stack, Socket.io, and Chakra UI.
- Tech Stack: MongoDB, Express, React, Node.js, Socket.io, Chakra UI
- Authentication: Secure JWT-based authentication
- Core Functionalities:
- Create, delete, like, and comment on posts
- Follow/unfollow users
- Freeze/Unfreeze accounts
- Dark/Light mode toggle
- Responsive design for all devices
- Real-Time Chat:
- Message users with image support
- Seen/unseen message status
- Notification sounds
- Deployment: Easily deployed for free on Render
-
Clone the repo:
git clone https://github.com/yourusername/social-media-app.git cd social-media-app
-
Install dependencies:
npm install
-
Erstellen Sie
.env
:PORT=your_port MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secret
-
Build & Start the app:
npm run build npm start
[Social Media App Live] (Link)
Note: Initial load may take a few seconds due to free hosting.