Connect is a web application similar to Linktree that allows users to create a personalized page containing links to their social media profiles, websites, and other online content. This project is built using modern web technologies to ensure a smooth and responsive user experience.
- User authentication and authorization
- Create and manage a personalized profile with multiple links
- Responsive design for mobile and desktop
- Easy link management with drag-and-drop functionality
- Frontend: HTML, CSS, JavaScript, React
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- Hosting: Vercel (or similar)
- Clone the repository:
git clone https://github.com/mihir2004/connect.git cd connect
- Install dependencies for both client and server:
cd client yarn install cd ../server yarn install
- Start the server:
cd server yarn start
- Start the client:
cd client yarn start
- Open your browser and go to
http://localhost:3000
to see the application in action.
- User Registration and Login: Users can register for an account and log in using their credentials. The application uses JWT for secure authentication.
- Profile Creation: Once logged in, users can create a profile where they can add multiple links to their social media accounts, websites, or any other online resources.
- Link Management: Users can easily add, update, and delete links through a user-friendly interface. The links can be reordered using a drag-and-drop feature.
- Public Profile: Each user gets a unique URL that they can share, which displays their profile with all the links they have added.
POST /api/auth/register
- Register a new userPOST /api/auth/login
- Log in an existing user
GET /api/user/:id
- Get user profile by IDPUT /api/user/:id
- Update user profile
GET /api/links/:userId
- Get all links for a userPOST /api/links
- Create a new linkPUT /api/links/:linkId
- Update a linkDELETE /api/links/:linkId
- Delete a link
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.