General rules
These are the general rules you should follow while contributing to FastrAPI:- Be Nice, Be Respectful (BNBR) - Treat everyone with kindness and professionalism
- Check existing issues - Before creating a new issue, make sure it doesn’t already exist
- Describe issues clearly - When creating an issue, provide detailed information about the problem
- Make proper commit messages - Write clear, descriptive commit messages and document your PR well
- Add comments and documentation - Always comment your code and add docstrings where possible
- Create PRs from branches - Never create a pull request from the main branch
- Follow code conventions - Write clean, readable code following the project’s style guidelines
- First come, first served - Issues are assigned on a “First Come, First Served” basis
- Tag the maintainer - Mention @ppmpreetham if your PR isn’t reviewed within a few days
How to contribute
Fork and clone the repository
- Fork the project - Click the fork button on the FastrAPI repository
-
Clone your fork:
-
Navigate to the project directory:
-
Add upstream remote:
-
Verify remotes:
Create a branch and make changes
-
Create a new branch:
-
Sync with upstream - Always pull from upstream to avoid merge conflicts:
- Make your changes - Implement your feature or bug fix
-
Stage and commit:
-
Push to your fork:
Create a pull request
- Open your forked repository on GitHub and click the “Compare & pull request” button
-
Fill in the PR template:
- Give your PR a clear, descriptive title
- Describe the changes you made in detail
- Reference any related issues
- Submit the PR by clicking “Create pull request”
Creating issues
Issues help track bugs, enhancements, and feature requests. Here’s how to create one:- Navigate to the FastrAPI repository
- Click on the “Issues” tab
- Click “New issue”
- Select an appropriate issue template
- Fill in the title and description with detailed information
- Submit the issue