{"size": 599, "ext": "js", "max_stars_repo_path": "client/src/setupProxy.js", "max_stars_repo_name": "iamkartik/dashboard-demo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/setupProxy.js", "max_issues_repo_name": "iamkartik/dashboard-demo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/setupProxy.js", "max_forks_repo_name": "iamkartik/dashboard-demo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 42.7857142857, "max_line_length": 82, "alphanum_fraction": 0.6143572621}
/**
 * Proxy file to forward ports in case of development setup
 */
const proxy = require('http-proxy-middleware')
 
module.exports = function(app) {
  app.use(proxy('/login', { target: 'http://localhost:9000/' }));
  app.use(proxy('/logout', { target: 'http://localhost:9000/' }));
  app.use(proxy('/user/current', { target: 'http://localhost:9000/' }));
  app.use(proxy('/analytics/**/**', { target: 'http://localhost:9000/' }));
  app.use(proxy('/analytics/total/**/**', { target: 'http://localhost:9000/' }));
  app.use(proxy('/analytics/agg/**/**/**', { target: 'http://localhost:9000/' }));

}