https://github.com/sr258/h5p-dev-server
https://github.com/sr258/h5p-dev-server
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sr258/h5p-dev-server
- Owner: sr258
- Created: 2020-03-02T16:40:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T03:25:51.000Z (over 3 years ago)
- Last Synced: 2025-06-04T19:37:09.449Z (about 1 year ago)
- Language: JavaScript
- Size: 1.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# H5P Development Server
## Ideas
- Can be installed as a NPM development dependency of a H5P library. Is then called with 'npx h5p-dev-server'.
- The H5P library it is installed in is the one that is opened when the server starts.
- All H5P dependencies of the main H5P library can be installed using 'npx h5p-dev-server install'. This will download all libraries into `h5p_libraries` from a central repository.
- The dev server offers transparent access to the main library and installed dependent libraries.
- The dev server allows using peer h5p libraries by calling it with 'npx h5p-dev-server --peer PATH'. The library in the directory can then be accessed like a regular library (but still developed).
- There is no caching in the dev server.
- The dev server can be started with a test directory as argument. The content in the directory can then be accessed at localhost:8080/tests/XYZ. This is meant to simplify automated integration tests.
- The dev server allows creating, editing and displaying H5P content of the main library. The content is stored in a special directory (test-temp).
- The dev server captures and displays xAPI statements.
- The dev server allows debugging JavaScript from IDEs.