Skip to content

feat: re-work examples and @waku/create-app #275

@weboko

Description

@weboko

This is a feature request

Problem

In #260 couple of problems were noticed.

One is that as of now examples folder contains:

  • experiments with new features of waku (e.g web-chat);
  • examples of use cases of js-waku (e.g light-chat);
  • proof of concepts of potential uses, discovery of possibilities (e.g rln-js, noise-js, relay-direct-rtc);

At the same time examples are used in @waku/create-app for other developers to start building on top of js-waku.

Proposed Solutions

  • (1) Develop a set of patterns convenient to use by other developers, these might be just templates from feat: example templates for fast development #271

  • (2) Separate space for experiments and PoCs. As of now these are web-chat, noise-*, relay-direct-rtc

  • (3) Given that @waku/create-app should expose everything but main focus of this tool should be kept on first time developers and need to bootstrap their new development. That means these templates are defaults and only with an additional key provide the ability to fetch some other experiment / PoC.

  • (4) Since we see a clear differentiation between a template for a developer and an experiment and a PoC I'd put last two groups to lab.waku.org (per comment) but then templates are left behind and I don't expect to have many of them so would be nice to move as well. In that case exampels.waku.org can be a shortcut to the repo.

  • (5) Based on discussion from EcoDev monthly call and 2023 events retrospective, we should update the name of this repository to a more general name: examples. Post-update, identify broken links in https://docs.waku.org/.

Last point obviously requires move discussion within the team.

Notes

Relative issue #271

Metadata

Metadata

Assignees

Labels

E:Presentation ReadinessSee https://github.com/waku-org/pm/issues/95 for detailsenhancementNew feature or request

Type

No type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions