Skip to content

sadoprotocol/ipfs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ccccc18 · Jun 14, 2023

History

15 Commits
May 9, 2023
May 4, 2023
Jun 14, 2023
Jun 14, 2023
Jun 14, 2023
Jun 14, 2023
Jun 13, 2023
May 9, 2023
May 4, 2023
Jun 13, 2023
May 4, 2023
May 9, 2023
Jun 14, 2023

Repository files navigation

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)