Thanks for your interest in contributing to @lopatnov/express-reverse-proxy! Contributing to open source can be a rewarding way to learn, share knowledge, and build experience. We are glad you are here.
You do not have to contribute code to make a difference. Here are some ways you can help:
- Take a look at the open issues and find one to work on.
- Locate and fix bugs in
server.jsor the configuration handling logic. - Implement new features or improve existing ones.
- Improve tooling, scripts, or the Docker/PM2 setup.
- Fix or improve the project documentation.
- Add more configuration examples or recipes to the README.
- Improve inline comments in
server.js.
- Report reproducible bugs with a minimal
server-config.jsonexample. - Verify that existing issues are still present or have been resolved.
- Answer questions in Discussions.
- Help triage open issues — identify duplicates, ask clarifying questions.
Please read the Code of Conduct before contributing. By participating in this project, you agree to uphold its standards.
If you have an idea, first search open issues and pull requests to see if it has already been discussed.
If it has not:
- Minor change (typo, doc fix): Open a pull request directly.
- Major change (new feature, API change): Open an issue first to discuss the approach.
-
Fork the repository by clicking Fork on GitHub.
-
Clone your fork locally:
git clone https://github.com/<YOUR-USERNAME>/express-reverse-proxy
-
Add the upstream remote so you can sync changes:
git remote add upstream https://github.com/lopatnov/express-reverse-proxy
-
Sync your local
masterbranch with upstream:git checkout master git pull upstream master && git push origin master -
Create a new branch from
master:git checkout -b <your-branch-name>
-
Make your changes to the code or documentation.
-
Test your changes:
# Start the server and verify it works node server.js --config server-config.json # Run the full demo (backends + proxy) npm run demo # Check for lint errors npm run lint
-
Commit your changes. Use a present-tense message describing what the commit does when applied:
git commit -m "Add support for multiple proxy targets" -
Push your branch to your fork:
git push -u origin <your-branch-name>
-
Open a pull request on GitHub from your fork's branch to
lopatnov/express-reverse-proxy:master. -
Respond to any review comments and push follow-up commits if needed.
-
Once merged, you can delete your branch and sync your fork.
Happy contributing!