Better Plugin Recommendations Server
This repository contains the very simple node server (powered by hapi.js) that returns results for the Better Plugin Recommendations WordPress plugin.
Feel free to fork this repository to power your own server.
- You'll need node 6+ (7.6+ ideal) to run this
- You should probably have
yarninstalled, but you can get away with just
- Install with
npm installif you prefer the old school route)
- Start the server with
npm startI guess)
- To update the plugin list, just add/remove slugs in
- Deploy with
nowsuper easily if you'd like
- Install the accompanying WordPress Plugin and add the following to your
define( 'SPP_BPR_API_HOST', 'yourhost.com' );-- change the domain to the host where you're serving the API from.