An exercise using "create-react-app" package and React.js to create a page pulling World Cup 2018 results from an API.
API Data source: https://raw.githubusercontent.com/lsv/fifa-worldcup-2018/master/data.json
Steps:
- In the terminal, cd to the directory of the app
$ cd my-app
- Install all node modules required
$ npm i
or
$ yarn i
- Launch app
$ yarn start
or
$ npm start
Extras:
- Added functionality to create prediction for upcoming matches
Pending:
- Link up with a database such that predictions posted can be saved