React.js browser client
You need to have Node.js installed on your machine, and you need to first setup the SEACRIFOG API. Once you have done this, just install project dependencies and then start the development server.
npm install
npm start
- Testing this on Windows (using
npm
via Powershell), I had to installnpm-run-all
globally.npm install npm-run-all -g
- Running
npm install
, some of the packages will install platform specific bindings. So if something isn't working try removing thenode_modules
directory and re-runningnpm install
PUBLIC_PATH=public
HTTP_ENDPOINT=https://api.seacrifog.saeon.ac.za/http
GQL_ENDPOINT=https://api.seacrifog.saeon.ac.za/graphql
DOWNLOADS_ENDPOINT=https://api.seacrifog.saeon.ac.za/downloads