Requirements
For development, you will only need Node.js installed on your environement. Only visually tested on latest version of Chrome and Firefox
Yarn
Recommended to use Yarn rather than npm as all instructions will be written with yarn.
Node
Node is really easy to install & now include NPM.
You should be able to run the following command after the installation procedure below.
$ node --version
v10.13.0
$ npm --version
6.4.1
Install
$ yarn
Run locally
$ yarn dev
This will run a server on localhost:1234 and populate a folder called dist in the root of the folder. Any changes you make the files will be rebuilt
Build for production
Tests
To run the tests
$ yarn test
TODOS
- Add a route to the Node server to render the app
- Add a build of the app
Languages & tools
JavaScript
- Eslint used to help prevent JavaScript errors.
- Parcel to handle the bundling and running of the server
- Prettier keeps our code correctl formatted.
- React library used to build the UI
- Highcharts library to render the charts
- Apollo Server API using Apollo server and Graphql
- Hapi Node server to run the API
CSS
- Stylelint is used to prevent CSS errors
On this page
Languages
JavaScript88.3%HTML6.6%CSS5.1%
Contributors
Created November 23, 2018
Updated November 27, 2018