Site Preview API is a link unfurling API that returns metadata of a website . The endpoint returns a parsed version of the html content of the url parsed and returns it in the form of a JSON Object
Nest JS https://nestjs.com/
Prisma database orm https://www.prisma.io/
-
Install and use the correct version of Node using NVM
nvm install
-
Install dependencies
npm install
-
Start the development server
npm run start:dev
GET http://localhost:4000/parse/?urlhttp://localhost:3000/parse/?url={url of website}
http://localhost:4000/parse?url=https://nextjs.org/docs/api-routes/dynamic-api-routes
url - required - This is the url that will be parsed to get the metadata with includes title,description and favicon of the website. start with https
Status 200 = Success
Status 500 = Internal Server Error
