# Contributing to Acme Thanks for helping. This guide explains how to report problems, set up the project and get a change merged. ## Ask a question or report a bug - Questions go to [Discussions](https://github.com/acme/acme/discussions). - Bugs go to [Issues](https://github.com/acme/acme/issues/new/choose). Search first, then use the bug report form and include the steps to reproduce. - Security problems go through [private vulnerability reporting](SECURITY.md), never a public issue. ## Set up the project You need Node.js 24 and Docker. ```bash git clone https://github.com/acme/acme.git cd acme npm ci cp .env.example .env docker compose up -d --wait npm run dev ``` The app runs at `http://localhost:3000`. Run `npm test` to check that your setup works. ## Make a change 1. For anything larger than a small fix, open an issue first so we can agree on the approach. 2. Create a branch from `main`, such as `fix/login-redirect`. 3. Write a test that fails without your change. 4. Run `npm run lint`, `npm run typecheck` and `npm test`. All three must pass. 5. Update the documentation in `docs/` when behavior changes. ## Commit messages We use [Conventional Commits](https://www.conventionalcommits.org): `type(scope): description`, such as `fix(auth): keep the redirect after sign-in`. Types are `feat`, `fix`, `docs`, `refactor`, `test` and `chore`. ## Open a pull request - Fill in the pull request template, including how to test the change. - Keep one change per pull request. Small pull requests get reviewed faster. - A maintainer reviews within a week. Address comments with new commits; we squash on merge. ## Code of conduct Everyone taking part follows our [Code of Conduct](CODE_OF_CONDUCT.md). ## License By contributing, you agree that your contributions are licensed under the project's [MIT License](LICENSE).