Provide a env file with your Pinata keys and hitting the POST endpoint "/api/upload" will pipe the incoming request to the Pinata file upload endpoint, with your keys attached to the headers. https://github.com/PinataCloud/Pinata-SDK#pinFileToIPFS-anchor
npm install
npm start
The server runs on port 8009 by default