Thank you for considering contributing to this project! We welcome all kinds of contributions, whether it's bug reports, feature suggestions, or code improvements. Please follow the guidelines below to make the contribution process smooth and effective.
- Fork the Repository: Start by forking the repository to your GitHub account.
- Clone the Fork: Clone the repository to your local machine.
git clone https://github.com/your-username/node-api-postgres.git
- Set Upstream: Set the original repository as the upstream remote.
git remote add upstream https://github.com/JawherKl/node-api-postgres.git
If you encounter a bug or have a feature request, please open an issue with the following details:
- A clear and descriptive title
- Steps to reproduce the issue (if applicable)
- Expected behavior
- Actual behavior
- Any relevant screenshots or error messages
- Branch from
main
: Always create a new branch from themain
branch for your work.git checkout -b feature/id-or-bugfix-name
- Write Clean Code: Follow the existing code style and add comments where necessary.
- Run Tests: Ensure all existing tests pass and add new tests if applicable.
npm test
- Commit Messages: Write meaningful and descriptive commit messages.
git commit -m "Add feature X or fix issue Y"
- Push Changes: Push your branch to your fork.
git push origin feature/id-or-bugfix-name
- Create a Pull Request: Submit a pull request to the
main
branch of the original repository. Provide a detailed description of your changes and reference any relevant issues.
Please note that this project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
- Install Dependencies:
npm install
- Configure Environment:
Create a
.env
file in the root directory and configure the required environment variables. Refer to.env.example
for guidance. - Run the Application:
npm start
- Run Tests:
npm test
We are open to suggestions and feedback! Feel free to start a discussion in the Discussions tab.
Thank you for your contributions! Together, we can make this project better.