A tool for reviewer recommendation and automatic adding in DevOps, Microsoft
- A lightweight web framework, easy to deploy.
- Customizable recommendation algorithm by git.
Localhost or Azure server in Windows or Linux. Download #nodejs
- From the command line, create a new project folder for your web server
mkdir pr-server
cd pr-server- Create a new package.json file for the project.
npm initPress Enter to accept the defaults for all of the options except the entry point. Change it to autoReviewer.js
entry point: (index.js) autoReviewer.js- Install Express in the pr-server directory using the following command.
npm install express- Replace the project URL and token with your own RepoUrl and Token.

- Replace the autoReviewer.js with our project then run it.
npm install body-parser
npm install azure-devops-node-api
npm i nodemailer
npm i shelljs
node autoReviewer.js- Click the DevOps as the picture's instruction.
- Then we choose Web Hook options.
- Select Pull request created from the list of event triggers, then select Next.
- In the Action page, enter the URL:port your tools listening. Select Test to send a test event to your server.
Attention If you're running in the localhost, enter the URL supported by Ngrok. Otherwise, use the Public IP address:port. - select Finish to create the service hook.


