1f4bd581a8
* Converts import script to use public API endpoints The endpoints don't exist yet, but this is a good way to see how the implementation of the data structures differ. * Exposes public API endpoint to fetch user's sketches * Implements public API delete endpoint * Adds helper to create custom ApplicationError classes * Adds create project endpoint that understand API's data structure This transforms the nested tree of file data into a mongoose Project model * Returns '201 Created' to match API spec * Removes 'CustomError' variable assignment as it shows up in test output * transformFiles will return file validation errors * Tests API project controller * Tests toModel() * Creates default files if no root-level .html file is provided * Do not auto-generate a slug if it is provided Fixes a bug where the slug was auto-generated using the sketch name, even if a slug property had been provided. * Validates uniqueness of slugs for projects created by the public API * Adds tests for slug uniqueness * Configures node's Promise implementation for mongoose (fixes warnings) * Moves createProject tests to match controller location * Adds support for code to ApplicationErrors * deleteProject controller tests * getProjectsForUser controller tests - implements tests - update apiKey tests to use new User mocks * Ensure error objects have consistent property names `message` is used as a high-level description of the errors `detail` is optional and has an plain language explanation of the individual errors `errors` is an array of each individual problem from `detail` in a machine-readable format * Assert environment variables are provided at script start * Version public API * Expect "files" property to always be provided * Fixes linting error * Converts import script to use public API endpoints The endpoints don't exist yet, but this is a good way to see how the implementation of the data structures differ. * Exposes public API endpoint to fetch user's sketches * Implements public API delete endpoint * Adds helper to create custom ApplicationError classes * Adds create project endpoint that understand API's data structure This transforms the nested tree of file data into a mongoose Project model * Returns '201 Created' to match API spec * Removes 'CustomError' variable assignment as it shows up in test output * transformFiles will return file validation errors * Tests API project controller * Tests toModel() * Creates default files if no root-level .html file is provided * Do not auto-generate a slug if it is provided Fixes a bug where the slug was auto-generated using the sketch name, even if a slug property had been provided. * Validates uniqueness of slugs for projects created by the public API * Adds tests for slug uniqueness * Configures node's Promise implementation for mongoose (fixes warnings) * Moves createProject tests to match controller location * deleteProject controller tests * Adds support for code to ApplicationErrors * getProjectsForUser controller tests - implements tests - update apiKey tests to use new User mocks * Ensure error objects have consistent property names `message` is used as a high-level description of the errors `detail` is optional and has an plain language explanation of the individual errors `errors` is an array of each individual problem from `detail` in a machine-readable format * Assert environment variables are provided at script start * Version public API * Expect "files" property to always be provided * Fixes linting error * Checks that authenticated user has permission to create under this namespace Previously, the project was always created under the authenticated user's namespace, but this not obvious behaviour. * Splits private and public APIs The private API is under /editor and the public API under /api |
||
---|---|---|
.github | ||
client | ||
developer_docs | ||
server | ||
webpack | ||
.babelrc | ||
.env.example | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
app.json | ||
deploy.sh | ||
deploy_staging.sh | ||
docker-compose-development.yml | ||
docker-compose.yml | ||
Dockerfile | ||
index.js | ||
jest.setup.js | ||
kubernetes_app.yml | ||
LICENSE | ||
nodemon.json | ||
package-lock.json | ||
package.json | ||
Procfile | ||
README.md |
p5.js Web Editor
Hello! The p5.js Web Editor is an in-browser editor for creative coding, specifically for writing p5.js sketches. p5.js, a separate open source project, is a JavaScript library with the goal of making coding accessible for artists, designers, educators, and beginners. The web editor shares the same spirit as p5.js–it is designed with the beginner in mind. When using the web editor, you don't need to download or configure anything, you can simply open the website, and start writing code. You can also host your work online and share it with others.
The p5.js Web Editor is currently in active development, and looking for contributions of any type! Please check out the contribution guide for more details.
If you have found a bug in the p5.js Web Editor, you can file it under the "issues" tab.
Issues
Please post bugs and feature requests in the correct repository:
- p5.js general and p5.dom: https://github.com/processing/p5.js/issues
- p5.accessibility: https://github.com/processing/p5.accessibility/issues
- p5.sound: https://github.com/processing/p5.js-sound/issues
- p5.js website: https://github.com/processing/p5.js-website/issues
Get Involved
The p5.js Web Editor is a collaborative project created by many individuals, and you are invited to help. All types of involvement are welcome. You can start with the p5.js community section, which also applies to this project.
Developers, check the developer docs details about contributing code, bug fixes, and documentation. To start writing code, a great place to start is the development guide.
Support
Support for this project has come from Processing Foundation, NYU ITP, and CS4All, NYC DOE.