A modern URL Shortener built with React, Vite, Supabase, and Tailwind CSS. It allows users to create short links, manage them, generate QR codes, and redirect users instantly.
- 🔐 User Authentication (Login & Signup)
- 🔗 Create Short URLs
- ⚡ Instant Redirection
- 📋 Copy Short Link
- 🌐 Open Original URL
- 📱 QR Code Generation
- 🎨 Responsive UI
- ☁️ Supabase Database Integration
- React
- Vite
- Tailwind CSS
- React Router DOM
- Shadcn/UI
- Lucide React Icons
- Supabase
- PostgreSQL (via Supabase)
src/
│── components/
│── pages/
│── db/
│── hooks/
│── layouts/
│── lib/
│── App.jsx
│── main.jsx
Clone the repository
git clone https://github.com/https://github.com/lovishmenaria14-gif/url-shortener.gitGo into the project
cd url-shortenerInstall dependencies
npm installRun the development server
npm run devCreate a .env file in the root directory.
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_keyDeploy easily on:
- Vercel
Build the project
npm run buildPreview production build
npm run preview- Link Analytics
- Custom Short URLs
- Password Protected Links
- Link Expiration
- Click Statistics
- Dark/Light Theme
- User Dashboard Enhancements
Contributions are welcome!
- Fork the repository
- Create a new branch
git checkout -b feature-name- Commit your changes
git commit -m "Added new feature"- Push your branch
git push origin feature-name- Open a Pull Request
Lovish Menaria
GitHub: https://github.com/lovishmenaria14-gif
⭐ If you found this project helpful, consider giving it a star!