Enhanced Preprints

Repository for the Enhanced Preprints API server.

Local development

Local dependencies

You will find it helpful to install local dependencies, by running yarn, so that local type-checking and linting tools work.

Development build - docker-compose up or make start-dev

This will build and run the application on port 8080 and will rebuild any ts files when they change.

Testing

To perform the unit tests:

yarn test

to run in watch mode add -w to the previous command.

To perform the integration tests:

yarn test:integration

and to lint:

yarn lint