Skip to content

H0M13/true-site-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrueSite API

Simple Node Express API to provide an endpoint for accessing the Pinata API and pin data to IPFS.

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

Releases

No releases published

Packages

No packages published