A Web app to help shorten your long links. This app also allows the user to switch between light and dark modes, which ever they prefer.
https://shortly-liart-gamma.vercel.app/
- Clone the repo and
cd
into it - Run
npm install
to install all required dependencies (this will create a /node_modules folder) - Go to this link to setup and get your own API link https://rapidapi.com/farolan/api/url-shortener23
- Create a
.env or
.env.local
file in you root project directory - Then create a variable called
NEXT_PUBLIC_API_KEY
and assign your key to it - Run
npm run dev
to serve your project to localhost:3000 - Enjoy