It's written in TypeScript, and uses the Koa framework.
The project contains a Makefile which uses Docker Compose for development and testing.
You can find the possible commands by executing:
make help
To build and run the app for development, execute:
make dev
You can now access the app at http://localhost:8080.
Rebuilding the container
Code is attached to the containers as volumes so most updates are visible without a need to rebuild the container. However, changes to NPM dependencies, for example, require a rebuild. So you may need to execute
make build
before running further commands.
We use Jest to test the app. You can run it by executing:
make test
We use Stryker for mutation testing, which makes sure that the Jest tests are effective. You can run it by executing:
make test:mutation
We lint the app with ESLint. You can run it by:
make lint
You can fix problems, where possible, by executing:
make lint:fix
Pull requests and other contributions are more than welcome. Please take a look at the contributing guidelines for further details.
- Report a bug or request a feature on GitHub.
- Ask a question on the Libero Community Slack.
- Read the code of conduct.
We released this software under the MIT license. Copyright © 2020 eLife Sciences Publications, Ltd.