Interact with the Nexosis API using this dashboard front-end.
The Nexosis API provides an easy way to build machine learning applications. It provides a Rest API that allows you to write programs that upload and manage data, run machine learning algorithms to build models, and make predictions on new data.
This dashboard is the management interface which uses the API under the hood to let you carry out the same tasks.
The source is primarily Elm, and uses the Nexosis Elm client library to call the API.
1. Update your configuration settings in VsCode to include elm-format by adding these properties:
Or, if you have elm-format installed globally already you can skip this step.
"elm.formatCommand": "./node_modules/.bin/elm-format",
"[elm]": {
"editor.formatOnSave": true,
},
"elm.formatCommand": ".\\node_modules\\.bin\\elm-format",
"[elm]": {
"editor.formatOnSave": true,
},
1. Run Yarn to Install If you need to install yarn, do so locally either through brew, or downloading the package installer (https://yarnpkg.com/en/docs/install)
yarn
2. Set API Key Set an API key as an environment variable. This key will get picked up during the build and added to the web project.
The name of the environment variable is NEXOSIS_API_KEY
You can find a key on your Nexosis Account.
Note that your API key should not be deployed with this application.
3. Build and run:
yarn open-app