/nfl

Primary LanguageJavaScriptMIT LicenseMIT

theScore: NFL Rushing

Notes

Thanks for allowing me to work on this challenge! Here are some notes regarding what I worked on and what I changed:

  • I went about using json-server to simulate a database.
  • react-query was utilized for HTTP calls to the json-server.
  • Site is responsive.

Setup

  • Please run npm i or yarn to apply new dependencies to the project.
  • When ready, run npm run dev or yarn dev. This should load the json-server and the local React environment.
  • The json-server loads first and rather quickly. The React environment runs after and might take a bit of time, but it will get there. -- If this doesn't work, the calls can be run separately as npm run start or yarn start and npm run json:server or yarn json:server.
  • Enjoy!

Tests

  • Run npm run test or yarn test