Skip to content

Create Gallery Sample #60

@gitaaron

Description

@gitaaron

After running the sample:

  1. I connect to the BOX using the PeerId (similar to TODO app).

  2. The client code invokes the DATA API to retrieve a list of photos to display in the gallery.

  3. The client code invokes the FILE API to fetch the contents of each image.

  4. I see a list of images that I uploaded with the upload sample.

  • create new react starter typescript project

  • fix rush build issue; not sure why test worked with npm

  • connect to fula client

  • fix typo in todo sample

  • display hardcoded list of 'Photo' elements with cid

  • pass in fula client to Photo element and call receiveFile to display content in img tag

  • use cid of photo instead of file id

  • fetch list of photos with CID from 'gallery' collection on DATA API

  • script to populate DB with fixture data #91

  • display a message for empty list #89

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done-previous-sprints

Relationships

None yet

Development

No branches or pull requests

Issue actions