CutLink is a sleek and efficient URL shortener built with Next.js, MongoDB, and TailwindCSS. This modern web application allows users to quickly shorten long URLs into manageable, shareable links.
- Quick URL Shortening: Instantly create shortened versions of long URLs
- Custom Short URLs: Create personalized short URLs (if available)
- Modern UI: Clean and responsive interface built with TailwindCSS
- Fast Performance: Built on Next.js with Turbopack for optimal speed
- Reliable Storage: MongoDB backend for secure and efficient data storage
- Frontend: React 19, Next.js 15
- Styling: TailwindCSS 4
- Backend: Next.js API Routes
- Database: MongoDB
- Performance: Turbopack
-
Clone the repository:
git clone https://github.com/Code-Script/cutlink.git cd cutlink -
Install dependencies:
npm install
-
Create a
.env.localfile in the root directory and add your MongoDB connection string:MONGODB_URI=your_mongodb_connection_string
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the application.
- Navigate to the homepage
- Click "Try now" to access the URL shortening page
- Enter your long URL
- (Optional) Customize your short URL
- Click "Generate" to create your shortened URL
- Copy and share your new short URL!
This project can be deployed on any platform that supports Next.js applications, such as Vercel:
npm run build
npm run startContributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
- Thanks to the Next.js team for their amazing framework
- TailwindCSS for the utility-first CSS framework
- MongoDB team for the reliable database solution