Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build an example project using React and Vite #32

Open
Cafe137 opened this issue Dec 13, 2023 · 5 comments
Open

Build an example project using React and Vite #32

Cafe137 opened this issue Dec 13, 2023 · 5 comments
Assignees
Labels

Comments

@Cafe137
Copy link
Collaborator

Cafe137 commented Dec 13, 2023

Description

Your task is creating a sample project that shows off the functionalities of the Swarm network, and serves as a simple example for developers looking to build a dApp that uses the decentralised Swarm storage.

This project is intended to be a front-end project that uses React and Vite.

Requirements

Stack

  • Use node.js 16 or higher (LTS)
  • Use Vite as the bundler
  • Use modern React (functional components)
  • Use latest @ethersphere/bee-js version
  • The project should start with npm install && npm start
  • The project should build a static site with npm run build

Functionality

  • List available postage batches (getAllPostageBatch)
  • Create new postage batch (createPostageBatch)
  • Upload a single file (uploadFile or uploadFiles)
  • Link to the uploaded file (http://localhost:1633/bzz/<hash>/)

Code quality

  • Code should be simple to follow and reason about
  • Use a formatter (e.g. Prettier) to make code style consistent
  • Use descriptive names, prefer easily readable code over comments
  • Extract utilities and helpers to a separate file, keep the main logic short
  • Compose application logic out of smaller building blocks, e.g. functions

Handover

Fork this repository, and place your submission in a new react-vite directory. Open a pull request from your repository to the official repository.

Documentation

@bee-runner bee-runner bot added the issue label Dec 13, 2023
@ReX027
Copy link

ReX027 commented Dec 27, 2023

Hi @Cafe137 , Could you assign this issue to me ?

@ReX027
Copy link

ReX027 commented Jan 1, 2024

@Cafe137 Is there any free public bee node available that I can access or I have to set up wallet to access swarm storage ?

@Markkos89
Copy link

Is this task still open @Cafe137 ?? thanks in advance

@iamabhay17
Copy link

Hey @Cafe137 is this still open?

@Oyase-shinobi
Copy link

Hello @Cafe137
hope you are doing well
I would love to engage in your team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants