Huddle is an NFL Web Scraper. It scrapes the NFL website and presents a view of the data that is easier to use than the NFL website.
Huddle is built using node and React.
Huddle is composed of two elements:
- server
- express
- Located in: src/server
- client
- react
- Located in: src/client
To start the web server:
$ npm run start:server
The server uses pm2 for persistence. The pm2 configuration file is ./pm2.config.json.
To compile the server source (./src/server) into (./dist/server):
$ npm run compile:server
To compile the client (./src/client) into (./public/js/client/huddle.react.js):
$ npm run compile:client
Webpack configuration is stored in ./webpack.config.js