Users can upload, delete and retrieve list of their public keys. User can upload test result with any public keys without any connection with uploading public keys in Refstack. It means that you can upload signed test results and upload public key later. Also, it means that deleting public key doesn't mean deleting results signed with this key. Change-Id: Idc418c4c90221740eef04fcf498d7071a4446b9c
Refstack User Interface
User interface for interacting with the Refstack API.
Setup
From the Refstack project root directory, create a config.json file and specify your API endpoint inside this file:
cp refstack-ui/app/config.json.sample refstack-ui/app/config.json
You can start a development server by doing the following:
Install NodeJS and NPM:
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
Install dependencies and start the server:
npm start
Doing this will automatically perform npm start and
bower install to get all dependencies.
By default, as noted in package.json, the server will use 0.0.0.0:8080.
Test
To run unit tests, simply perform the following:
npm test