-
Clone the project
git clone https://github.com/joshuadavidang/ShortenSG.git
-
Install dependencies
npm install
-
Set up environment variables
-
Create the file
.env.local
at the root folder -
Enter the following code
NEXT_PUBLIC_IS_VALID_URL=domain/isValidUrl NEXT_PUBLIC_SEND_URL=domain/sendUrl NEXT_PUBLIC_LONG_URL_IS_EXIST=domain/isExist
-
Run the project in development environment
npm run dev
Developed by @Joshua