We welcome contributions to DryerJS! If you find a bug or have a feature request, please open an issue on our GitHub repository. If you'd like to contribute code, feel free to open a pull request.
To contribute to the development of "DryerJS" or work on your own projects using this library, follow these steps:
-
Start mongodb with docker-compose if needed:
docker-compose up -d
-
Start the Example Application
npm run start:dev
-
Visit http://localhost:3000/graphql in your web browser. You should see the GraphQL Playground, allowing you to interact with the API.
To run unit tests for DryerJS, use the following command:
npm run test:unit
To run end-to-end tests, use the following command:
npm run test:e2e
To update snapshots for end-to-end tests, use the following command:
npm run test:e2e -- --updateSnapshot
To check test coverage, use the following command:
npm run test:cov && npm run show-cov
Follow this instruction