Connect is a social networking platform built using the MERN stack (MongoDB, Express, React, Node.js) and styled with Tailwind CSS. It allows users to create profiles, post updates, and interact with other users through likes and comments.
- User authentication and authorization
- Profile creation and customization
- Posting updates with text and images
- Liking and commenting on posts
- Real-time notifications
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
-
Clone the repository:
git clone https://github.com/yourusername/connect.git cd connect
-
Install dependencies for both the client and server:
cd client npm install cd ../server npm install
-
Set up environment variables:
Create a
.env
file in theserver
directory and add the following:MONGO_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
-
Run the application:
# In the server directory npm start # In the client directory npm start
-
Open your browser and navigate to
http://localhost:3000
.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-branch-name
. - Open a pull request.
For any questions or feedback, please reach out to mailto:([email protected]).