Skip to content

IPFS file Uploader #55

@stojanov-igor

Description

@stojanov-igor

The front-end application is avalaible in the following repository: https://github.com/UniversalDot/front-end

Clone the repo and check out the branch that I have created for you.

git fetch origin
git checkout 55-ipfs-file-uploader

Make sure that you commit everything to the existing branch. Once the task is completed, we will create a pull request to merge to develop.

Create a file uploader that allows the user to upload a file into the web application. The file uploader should use existing UI elements and styles. In more detail, the task should fulfill the following conditions:

  • Be able to upload a file through the browser
  • Be able to remove the file in the browser
  • Shows a small preview of the document
  • Returns the CID of the document

Implement this file uploader for the Attachment input in src/pages/OrganizationOwn.tsx

Keep in mind that the application is already connected to IPFS node running at http://109.235.70.27:5001. To see how the integration was done, check out the following pull-request: #37

An example of a file uploader can be found here: https://www.npmjs.com/package/react-ipfs-uploader

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions