Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.59 KB

File metadata and controls

57 lines (34 loc) · 1.59 KB

Contributing

Thanks for taking the time to contribute to this project!

How to help?

There are multiple tasks you can do in order to help us, for example:

  • file an issue to report bugs or your specific needs
  • contribute to existing issues
  • write a PR to improve the project

Contributing workflow

In order to make a code contribution, create a fork of Ackee by clicking the "Fork" button on GitHub and cloning the repo to your local machine.

Please use the develop branch as a base for your contribution and make your changes on a new branch.

Ensure that you open an issue to discuss the changes before submitting a PR.

Once you're finished, push your branch to your repo and create a pull request!

Development mode

Simply run Ackee with NODE_ENV set to development to get access to the GraphQL Playground. You can do this by adding NODE_ENV=development to the environment of your docker-compose.yml or by running:

npm run dev

Code Quality

Linting and Formatting

Ackee uses ESLint for linting and Prettier for code formatting. It's recommended to add the corresponding extensions to your editor.

To check for linting and formatting issues, run:

npm run lint

To automatically fix linting issues and format your code before committing, run:

npm run format

Testing

To make sure your changes didn't break anything, use the test task to run all tests:

npm run test

That's it, happy coding!