Skip to content

HariN999/SocialeX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📱 SocialeX - Real-Time Social Media App

SocialeX is a modern, full-stack social media application that enables real-time chat, post sharing, story updates, and secure authentication. It’s built using the MERN stack (MongoDB, Express, React, Node.js) along with Socket.io for real-time features and Firebase for media storage.


🚀 Features

  • 🔐 User Authentication (Register/Login with hashed passwords)
  • 🧑‍🤝‍🧑 Profiles (Custom profile pic, username, about section)
  • 📝 Create & View Posts (Text, image, or video-based posts)
  • 📸 Stories (24-hour story feature similar to Instagram)
  • 💬 Real-Time Chat (1-on-1 private messaging with file support)
  • 🔔 Notifications (For new messages, followers, and story updates)
  • 🔄 Live Feed (View all user posts in real-time)
  • 🔒 End-to-End Security (JWT, Bcrypt, secure MongoDB storage)

🧰 Tech Stack

Layer Technology
Frontend React.js, Axios, Bootstrap
Backend Node.js, Express.js
Real-Time Socket.io
Database MongoDB (via Mongoose)
Media Upload Firebase Storage
Authentication JWT, Bcrypt

📂 Project Structure

SocialeX/
├── client/               # React frontend
│   └── src/
│       ├── components/
│       ├── pages/
│       ├── context/
│       └── App.js
├── server/               # Node.js backend
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   └── index.js
├── .env
├── README.md
└── package.json

⚙️ Setup Instructions

1️⃣ Clone the Repository

git clone https://github.com/HariN999/SocialeX.git
cd SocialeX

2️⃣ Setup the Backend

cd server
npm install

Create a .env file in the server/ folder:

PORT=5000
MONGO_URL=your_mongo_db_connection_string
JWT_SECRET=your_jwt_secret

3️⃣ Setup the Frontend

cd ../client
npm install

Create a .env file in client/ for Firebase config:

REACT_APP_FIREBASE_API_KEY=...
REACT_APP_FIREBASE_PROJECT_ID=...

4️⃣ Run the Application

Start backend:

cd ../server
npm start

Start frontend:

cd ../client
npm start

App runs on: 🌐 http://localhost:3000


📸 Screenshots

Home Page

image

Posts Stories
Posts Stories

🔐 Environment Variables

Here’s what you need for the .env files:

Backend (server/.env)

PORT=5000
MONGO_URL=your_mongodb_uri
JWT_SECRET=your_jwt_secret

Frontend (client/.env)

REACT_APP_FIREBASE_API_KEY=your_key
REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain
REACT_APP_FIREBASE_PROJECT_ID=your_project_id
REACT_APP_FIREBASE_STORAGE_BUCKET=your_bucket
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
REACT_APP_FIREBASE_APP_ID=your_app_id

🎥 Demo

Watch a full walkthrough of SocialeX in action:

https://drive.google.com/file/d/1xDJ8aYb451fFts_2vn38VSUtOckL1Ajr/view?usp=drive_link

🙋‍♂️ Support

If you found this project useful, give it a ⭐ on GitHub! Need help? Feel free to open an issue.


About

SocialeX is a modern, full-stack social media application that enables real-time chat, post sharing, story updates, and secure authentication. It’s built using the MERN stack (MongoDB, Express, React, Node.js) along with Socket.io for real-time features and Firebase for media storage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors