Skip to content

[FR] Sandbox boilerplate/starter/demo repo #2449

@FossPrime

Description

@FossPrime

Steps to reproduce

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc. This makes it much easier for us to debug and issues that have a reproducible example will get higher priority.

Examples:

Modifications:

  • Helmet configured in config/sandbox.json to allow iFrame embedding from codesandbox.io and glitch
  • helmet updated to 4.6 from 4.3.1 ( useDefaults bug was fixed )
  • eslint with -fix interferes with built in prettier and causes crashes, removed -fix
  • Sandbox config file configured with template: "node" and node: "16". Without this the importer will mistakenly run the code in the react-app template.
  • start script fallsback to dev (Glitch only supports start and uses a custom rust/ruby/pnmp server without Yarn)

Similar-ish projects

Expected behavior

An official-ish sandbox should be easy to get running. Creating fully functional running reproducible sandboxes for github issues should take no more than 5 minutes.

Actual behavior

Very few if any exist. CLI generator creates sandboxes with subtle issues which make it non-trivial to DIY.

System configuration

Module versions: dove

NodeJS version: 16 baby

Operating System: iPadOS, Android, Chromebooks, MacOS, Windose

Proposal #1

Create a side project under the feathersjs organization called... starter or sandbox. I can't imagine how to roll this into the monorepo. Having a full repo should make it easier to get this in as a preloaded template. It should obviously regenerate using the CLI and closely track it.

Proposal #2

Create a web UI for generating feathers. The sandbox can be generated in /tmp/feathers and then sync'd to /sandbox. The only dependencies would be a body parser and sync tool like what's being done in the Dove sandbox linked above. Console-feed would not be needed to show progress as a read only server terminal is always visible in CSB and easily accessible in Glitch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions