DEV Community

Said MOUNAIM
Said MOUNAIM

Posted on

Minimal Linktree-style web app built with Next.js 15, Prisma, BetterAuth, and ShadCN/UI.

LinkLoop

LinkLoop is a clean, minimal Linktree-style web app built with Next.js 15, Prisma, BetterAuth, and ShadCN/UI. Easily share multiple links through a personalized profile. Users can sign up, manage profiles, and customize their link collections with emoji and titles.

πŸš€ Demo

Check out a live demo profile:

https://link-loop-share.vercel.app/profile/saidmounaim

Getting Started

1. Clone the repository

Run the following command to clone the repo:

git clone https://github.com/saidMounaim/link-loop.git
Enter fullscreen mode Exit fullscreen mode

2. Install dependencies

Install all dependencies by running:

npm install
Enter fullscreen mode Exit fullscreen mode

3. Create a .env file

Create a .env file in the root directory with the following environment variables:

DATABASE_URL=""
BETTER_AUTH_BASE_URL=""
BETTER_AUTH_SECRET=""
Enter fullscreen mode Exit fullscreen mode

Make sure your .env file is configured correctly to connect to your database and BetterAuth.

4. Run the development server

Start the development server with:

npm run dev
Enter fullscreen mode Exit fullscreen mode

Features

  • πŸ” User sign-up and sign-in with BetterAuth
  • πŸ‘€ Create profile with avatar, bio, and username
  • πŸ”— Add, edit, reorder, and delete links with emoji and title
  • πŸ“Š Track link click counts
  • πŸ’… Clean and responsive UI using ShadCN/UI and Tailwind CSS

Built With

Contribution

All kinds of contributions are welcome πŸ™Œ

Feel free to fork the repo, create a feature branch, and submit a pull request.

Top comments (5)

Collapse
 
dotallio profile image
Dotallio

This looks super clean, love the use of ShadCN with Next.js 15! Any plans to add more analytics beyond click counts?

Collapse
 
saidmounaim profile image
Said MOUNAIM

Thanks a lot! 😊
Yes, you can add more analytics easily. I suggest using Tinybird β€” it's a simple tool that helps you track things like page views, button clicks, and more in real time. It works really well with Next.js!

Collapse
 
nevodavid profile image
Nevo David

This is slick, love the no-fuss setup and how clean everything looks.

Collapse
 
saidmounaim profile image
Said MOUNAIM • Edited

Thanks! Glad you like it πŸ™Œ

Some comments may only be visible to logged-in visitors. Sign in to view all comments.