An API service built with ExpressJs and Puppeteer for fetching the Meta tag information of any website
Node js Server (version ^10) Yarn Package Manager
"express": "^4.17.1"
"node-fetch": "^2.6.1",
"nodemon": "^2.0.7",
"validatorjs": "^3.22.1"
"puppeteer": "^10.4.0"
After downloading this package, run the command below to install all dependencies
yarn install
Afterwards run the command below to start the node js server using nodemon
yarn start
Endpoint | Request parameter | Data type | Response | Method |
---|---|---|---|---|
/api/fetch | url |
String |
success: {"message": "Metadata succesfully searched","pageTitle": "","data": [] } |
POST |
http://metacheck.herokuapp.com/
Test endpoint using test suites like Postman and PostWoman