First, run the following command to install all dependencies:
npm install
# or
yarn
Then run the following command to start the server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can can see the implementation how the link is encoded in pages/index.js
.