Closer is a full-stack social media application built using the MERN stack (MongoDB, Express.js, React.js, and Node.js). It provides users with a platform to connect, share posts, and interact with each other.
- User Authentication (Sign up, Login, Logout)
- Profile Management
- Post Creation, Editing, and Deletion
- Like and Comment on Posts
- Follow and Unfollow Users
- Real-time Notifications
- Secure Backend with JWT Authentication
- Responsive UI
- Frontend: React.js, Redux, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ORM)
- Authentication: JWT (JSON Web Tokens)
- Deployment: Vercel (Frontend), Render/Heroku (Backend)
Ensure you have the following installed:
- Node.js
- MongoDB (Locally or using MongoDB Atlas)
git clone https://github.com/Prajualit/Social-Media-App-Closer-Mern.git
cd Social-Media-App-Closer-Mern- Navigate to the
backenddirectory:cd backend - Install dependencies:
npm install
- Create a
.envfile and add the following environment variables:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key
- Start the backend server:
The backend will run on
npm start
http://localhost:5000.
- Navigate to the
frontenddirectory:cd frontend - Install dependencies:
npm install
- Start the frontend:
The frontend will run on
npm run dev
http://localhost:3000.
- Register a new user or log in with an existing account.
- Create and share posts.
- Interact with other users by liking and commenting on posts.
- Follow users to see their updates in your feed.
Feel free to submit issues or pull requests to improve the project. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m "Added a new feature"). - Push the branch (
git push origin feature-branch). - Create a pull request.
This project is open-source and available under the MIT License.
For any questions or suggestions, feel free to contact me via:
- GitHub: Prajualit Tickoo
- Email: prajualit@gmail.com