A simple URL shortener built with Next.js.
The URL Shortener is a web application that allows users to shorten long URLs into shorter, more manageable links. It is built using Next.js, a popular React framework for server-side rendering.
- Shorten long URLs into shorter, more readable links
- Customizable link aliases
- Analytics to track link clicks and user engagement
-
Clone the repository:
git clone https://github.com/your-username/url-shortener-nextjs.git
-
Install the dependencies:
cd url-shortener-nextjs npm install
-
Configure the environment variables:
Create a
.env
file in the root directory and add the following variables:NEXT_PUBLIC_API_URL=your-api-url
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to access the application.