Welcome! We're excited that you're interested in contributing to our food ordering app. This document outlines the guidelines and information you need to know to contribute effectively.
- Getting Started
- How to contribute
- Development Setup
- Contribution Guidelines
- Pull Request Process
- Code Style
- Testing
- Issue Tracking
- Contact
- License
To get started with contributing to the project, you'll need to follow these steps:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Install the necessary dependencies.
- Fork the repository to your GitHub account.
- Create a new branch for your contribution:
git checkout -b feature/my-contribution
. - Install the project dependencies using
npm ci
to ensure a clean and reproducible installation. - Make your desired changes or add new features.
- Commit your changes with clear and descriptive commit messages.
- Push your changes to your branch:
git push origin feature/my-contribution
. - Open a pull request (PR) against the
main
branch of the main repository. - Ensure that your PR description clearly explains the purpose and scope of your contribution.
- Be responsive to any feedback or questions requested during the review process.
- Once your PR is approved, it will be merged into the main repository.
Our application is built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. Please ensure you have the following tools installed on your local machine:
After installing the necessary dependencies, run the following command to start the development server:
npm run dev
The server will run on http://localhost:1234
.
Please adhere to the following guidelines when making contributions:
- Before starting work on a new feature or bug fix, create a new branch from the
develop
branch with a descriptive name. - Make your changes and ensure they follow the project's coding style guidelines.
- Write clear, concise, and meaningful commit messages.
- Keep your pull requests focused and include a description of the changes made.
- When submitting a pull request, ensure that it addresses an open issue or create a new issue to discuss the changes with the maintainers.
- Be open to feedback and iterate on your changes based on the feedback received.
Follow these steps to submit a pull request:
- Push your changes to your forked repository.
- Open a pull request against the
develop
branch of the main repository. - Include a detailed description of the changes made.
- Assign the pull request to the relevant reviewers or maintainers.
- Wait for feedback or approval before merging.
We follow a consistent code style in our project to maintain readability and consistency. Please make sure to follow the existing code style conventions and guidelines.
We highly encourage writing tests for new features or bug fixes to ensure code quality. Use appropriate testing frameworks for both the frontend (React) and backend (Node.js/Express) components of the application.
We use GitHub Issues to track bugs, feature requests, and other tasks. If you encounter any issues or have a feature request, please open a new issue on the main repository.
If you have any questions or need assistance, feel free to reach out to the maintainers or contributors through the communication channels provided in the project's documentation.
The project is licensed under the MIT License. By contributing to this project, you agree to make your contributions available under this license.
Thank you for your interest in contributing to our food ordering app. We appreciate your help in making it better!
Happy coding!