refstack/refstack-ui
Vladislav Kuzmin 7b48c99fcb Add authentication through openstackid.org
In Refstack's database store only fullname, email and openid.
After sign in refstack backend create session and write it id in cookie.
When UI is opened in browser, Angular try to get info from
/v1/profile. If data about user received then user is authenticated.

Change-Id: Ib2cabc0c6b4de4b2ca1f02cc9e062a6e3550daa0
2015-07-02 16:20:55 +03:00
..
app Add authentication through openstackid.org 2015-07-02 16:20:55 +03:00
tests Add authentication through openstackid.org 2015-07-02 16:20:55 +03:00
README.rst Add results and test report page 2015-04-27 09:50:27 -07:00

Refstack User Interface

User interface for interacting with the Refstack API.

Setup

Create a config.json file and specify your API endpoint inside this file:

cp app/config.json.sample 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

From the Refstack project root directory, move into the UI folder:

cd refstack-ui

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