Contributing to Starwar-Archive
Thank you for considering contributing to Starwar-Archive! We welcome contributions from the community to make this project better.
Please take a moment to review this document to understand how to contribute effectively.
We expect all contributors to abide by our Code of Conduct. Please read it carefully before making any contributions.
Before you start contributing, ensure that you have:
- Node.js installed (version 18.x.x).
- Cloned the repository.
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Install the project dependencies by running
npm install
. - Start the development server using
npm run dev
.
- Create a new branch for your feature or bug fix:
git checkout -b feature/my-feature
orgit checkout -b bugfix/issue-number
. - Make your changes and ensure that the code follows the project's coding standards and guidelines.
- Write tests for any new functionality or changes.
- Run tests using
npm test
to ensure that they pass. - Commit your changes using descriptive commit messages:
git commit -m "feat: added new feature"
orgit commit -m "fix: resolved issue #123"
. - Push your changes to your forked repository:
git push origin feature/my-feature
orgit push origin bugfix/issue-number
.
- Open a pull request against the
main
branch of the original repository. - Ensure your pull request includes a clear title and description of the changes you made.
- Provide any additional information or context that could help with the review process.
- Request reviews from maintainers or specific contributors, if needed.
All contributions will go through code reviews. Be prepared to make any necessary changes based on the feedback received.
Thank you for contributing to Starwar-Archive!