Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 734 Bytes

README.md

File metadata and controls

54 lines (33 loc) · 734 Bytes

ipfs-api



Deployment

Requirement

  • IPFS server (access to port 5001)
  • MongoDB
  • NodeJS

Configuration

Copy dotenv to .env.
Edit .env and set proper parameters.


Install packages:

$ npm install

Start:

$ npm start


Usage

Examples of html form and upload javascript procedure are available in examples.

Note: Use the pin flag for persistent. Otherwise the media will get removed by garbage collector.



Pending items

  • If IPNS is used, create key backup procedures
  • API Authentication
  • List uploaded? (Require authentication)