Skip to content

A simple and modern URL shortener built with Next.js, MongoDB, next-safe-action, and shadcn/ui. Create and share short URLs effortlessly.

Notifications You must be signed in to change notification settings

cesarfreire/shortlinks

Repository files navigation

🔗 Shortlinks

A simple and modern URL shortener built with Next.js 15, MongoDB, next-safe-action, and shadcn/ui. Quickly create short and shareable links.

✨ Features

  • 🔐 Safe server actions with next-safe-action
  • ⚡ Instant form handling using react-hook-form and Zod validation
  • 🧪 URL validation with custom schemas
  • ☁️ MongoDB integration for storing original and shortened URLs
  • 📈 Access counter for redirection statistics (basic)
  • 🧠 Clean, accessible UI with shadcn/ui
  • 📤 Copy-to-clipboard support after creating a link

🧱 Tech Stack

About

A simple and modern URL shortener built with Next.js, MongoDB, next-safe-action, and shadcn/ui. Create and share short URLs effortlessly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published