This project is a clone of the popular Linktree platform, built using Next.js, MongoDB and Tailwind CSS. It allows users to create and manage their own personalized linktree pages. 🌟
git clone https://github.com/HamzaZaidiX/linktree-clone.git
npm install
.env.local
file in the root directory and add your MongoDB connection string:MONGODB_URI=mongodb+srv://username:[email protected]/linktree-clone?retryWrites=true&w=majority
npm run dev
pages/index.js
file renders the homepage, while the pages/generate.js
file renders the generate page.components/Linktree.js
file is a reusable component for displaying linktree pages.api/add.js
file handles the API endpoint for adding new linktree pages to the database.This project is licensed under the MIT License. Feel free to use and modify it as per your needs.
:octocat: :sparkles: :rocket: Happy coding! :rocket: :sparkles: :octocat: