First off, thank you for considering contributing to our project! Your involvement is greatly appreciated. This document provides guidelines to help you contribute effectively.
This project and everyone participating in it is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
If you find a bug, please report it by opening an issue in our GitHub Issues with the following details:
- Summary: A clear and concise description of the bug.
- Steps to Reproduce: A step-by-step guide on how to reproduce the issue.
- Expected Result: What you expected to happen.
- Actual Result: What actually happened.
- Screenshots or Screencasts: If applicable, add any visual aids.
We welcome feature suggestions. To suggest a feature:
- Search: First, check the existing issues to ensure your suggestion hasn’t been made before.
- New Issue: Open a new issue, and provide as much detail as possible:
- Describe the feature: Explain the feature and its benefits.
- Motivation: Why do you want this feature?
- Alternatives: Any alternative solutions you have considered.
- Fork the Repository: Create a fork of the repository by clicking the "Fork" button at the top of the project page.
- Clone Your Fork: Clone your forked repository to your local machine.
git clone https://github.com/phi-rakib/inventory-management-system-api.git
- Create a Branch: Always create a new branch for your work.
git checkout -b feature/your-feature-name
- Commit Your Changes: Make your changes and commit them with clear and descriptive messages.
- Push to Your Fork: Push your branch to your fork.
git push origin feature/your-feature-name
- Open a Pull Request: Navigate to the original repository and open a pull request from your branch.
Please ensure your pull request adheres to the following:
- Description: Provide a detailed description of what your PR does.
- Related Issues: Mention any related issues (e.g., “Closes #123”).
- Tests: Include any tests that are relevant.
- Clone the Repository:
git clone https://github.com/phi-rakib/inventory-management-system-api.git cd your-project
- Install Dependencies: Use Composer and npm to install dependencies.
composer install npm install
- Set Up Environment: Copy
.env.example
to.env
and configure your environment variables.cp .env.example .env php artisan key:generate
- Run Migrations: Set up the database by running migrations.
php artisan migrate
- Start the Server: Run the development server.
php artisan serve
- Format: Use the present tense (“Add feature” not “Added feature”).
- Style: Keep messages concise but descriptive.
- Follow the PSR-4 Coding Standard.
- Follow the Airbnb JavaScript Style Guide.
- Documentation: Ensure any relevant documentation is updated.
- Tests: If you’re adding new features, make sure to include tests.
Thank you for your contribution!