-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing
Thank you for considering contributing to Simple API Router! Contributions help improve the project and make it more useful for everyone. This guide will walk you through how to contribute effectively.
-
Fork the Repository
Click the Fork button on GitHub and clone your fork locally.git clone https://github.com/NotNexx/simple-api-router.git n-sar cd n-sar
-
Create a Branch
Create a new branch for your feature or bug fix.git checkout -b feature-name
-
Install Dependencies
Make sure all dependencies are installed.npm install
-
Make Your Changes
Implement your feature, fix a bug, or improve the documentation. -
Run Tests
Ensure all tests pass before submitting a pull request.npm test
-
Commit and Push
Follow the commit message format:git commit -m "feat: add new feature description" git push origin feature-name
-
Create a Pull Request
Open a pull request (PR) on GitHub with a clear description of your changes.
To run the project locally during development:
npm install
npm link
This links the package globally, allowing you to test it in a separate project.
- Follow the existing code style.
- Use clear and descriptive commit messages.
- Keep PRs focused on one change at a time.
All contributions should be tested before submission. Run:
npm test
If you are adding a new feature, consider writing tests to cover it.
- Open an issue to report a bug or suggest a new feature.
- Before opening an issue, check if a similar issue already exists.
Your contributions make Simple API Router better! If you have any questions, feel free to start a discussion or open an issue.
π‘ Need help? Join the [discussions](../discussions) or check out the [issues](../issues).