Welcome to the URL Shortener project, a powerful and efficient URL shortening service built with Next.js.
Follow these steps to set up and run the project locally.
Make sure you have the following installed on your machine:
Node.js (v14.x or later) npm (v6.x or later) or yarn (v1.x or later)
Clone the repository to your local machine:
git clone https://github.com/yourusername/url-shortener.git
cd url-shortenerInstall the necessary dependencies:
Using npm:
npm installOr using yarn:
yarn installTo start the development server, run:
Using npm:
npm run devOr using yarn:
yarn devOpen your browser and navigate to http://localhost:3000 to see the application in action.
To build the project for production, run:
Using npm:
npm run build
npm startOr using yarn:
yarn build
yarn start