Relier is a full-stack social media application built with the MERN stack (MongoDB, Express, React, Node.js). It includes real-time chat functionality via Socket.io, responsive UI with Material UI, and secure authentication using RESTful APIs. Users can register, log in, post content, view profiles, and message others privately — just like a real social platform! 💬🚀
🔗 Live site coming soon... Stay tuned!
Feature | Preview |
---|---|
🏠 Home Page | ![]() |
➕ New Post | ![]() |
👤 Profile Page | ![]() |
🔐 Login Page | ![]() |
📝 Register Page | ![]() |
💬 Messenger | ![]() |
💭 Chats | ![]() |
- ✅ Install Node.js
- ✅ Install Postman to test APIs and seed the database
- ✅ Ensure MongoDB is accessible (via MongoDB Atlas or local setup)
MONGO_URL=mongodb+srv://<username>:<password>@cluster0.nb0sm.mongodb.net/<database-name>?retryWrites=true&w=majority
Replace
<username>
,<password>
, and<database-name>
accordingly. Make sure options are URL encoded.
REACT_APP_PUBLIC_FOLDER=http://localhost:8800/images/
In each folder (api
, client
, and socket
), run:
npm install
or
yarn install
Open three terminals (or use a process manager like concurrently
) and run the following in each:
cd api
yarn start
cd client
yarn start
cd socket
yarn start
- Open Postman
- Import the
social.postman_collection.json
file - Use the provided endpoints to register users, create initial posts, etc.
Make sure your backend server is running while using Postman.
✨ Detailed synopsis coming soon... But here’s a quick teaser:
- 🛡️ Auth: Register/Login via secure REST API
- 📝 CRUD: Create/Edit/Delete posts
- 💬 Realtime chat via Socket.io
- 📸 Upload and serve media using Multer
- 👤 View other users' profiles
- ❤️ Like posts and interact with others
- 📱 Responsive design with Material UI
- Node.js → nodejs.org
- React.js → reactjs.org
- React Router → reactrouter.com
- Express → expressjs.com
- MongoDB → mongodb.com
- Material UI → mui.com
- Socket.io → socket.io/docs
- Multer (File Uploads) → GitHub
- timeago.js → GitHub