- Git clone the master branch
- Run
npm install
on the local folder. You need to install puppeteer library yourself. - Redis is needed. Download the library from source or docker it. Make sure it is running on the port number 6379.
- Run the script
npm run dev
, which will launch the server listening at localhost:7200. You can set an environment variable to PORT to change the port value.
- Test the server’s health with a GET request at /health,
- or run a new job with a POST request at /service/add including a JSON body param
url
containing the corresponding URL to audit.
Feel free to change the configuration at /src/config to suit your needs.