Thank you for considering contributing to DartAPI! 🚀
DartAPI is a lightweight FastAPI-like framework for Dart. Your contributions help improve the project and make it more useful for everyone.
Click the Fork button on GitHub to create your own copy of DartAPI.
Replace <your-github-username> with your actual GitHub username:
git clone https://github.com/<your-github-username>/dartapi.git
cd dartapiTo sync changes from the original repo, add an upstream:
git remote add upstream https://github.com/akashgk/dartapi.git
git fetch upstream
git merge upstream/mainBefore making changes, create a new branch:
git checkout -b feature-branch-nameEnsure all dependencies are installed before making changes:
dart pub getEnsure your code follows Dart style guidelines:
dart format .Before submitting a PR, test your changes:
dart testgit add .
git commit -m "Added feature XYZ"git push origin feature-branch-name- Go to DartAPI Pull Requests.
- Click New Pull Request.
- Select your feature branch.
- Provide a clear description of your changes.
- Click Create Pull Request.
✅ Follow Best Practices
- Use meaningful commit messages.
- Follow Dart formatting standards (
dart format .). - Add comments where necessary.
✅ Code Quality & Tests
- Ensure your code is well-structured and documented.
- If you add a feature, include unit tests (
dart test).
✅ Pull Request Etiquette
- Keep PRs small and focused (one feature or bug fix per PR).
- Provide clear descriptions in PRs.
If you find a bug, please open an issue:
- Describe what happens vs. what you expected.
- Provide steps to reproduce.
- Attach logs/screenshots if possible.
To request a new feature:
- Explain why the feature is needed.
- Suggest possible implementations.
- Open a feature request.
💬 Join the Discussion
- Engage with the community in GitHub Discussions.
- For questions, open a GitHub Issue.
💙 Thank You for Contributing!
DartAPI is open-source, and we appreciate all contributions! 🚀