An open API service indexing awesome lists of open source software.

https://github.com/flow-build/admin


https://github.com/flow-build/admin

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

FlowBuild Cockpit Admin



Frontend for the Cockpit API

## Version
```
node v12.14.1 (lts)
npm v6.14.5
```

## Running

To start the project, make sure to have a cockpit server running and the environment variables set.

To run the development server, type on a terminal:

```
npm run start
```

## Environment Variables

The following environment variables must be set in a file such as `.env`:

- `API_URL`: URL for the Cockpit server
- `TOKEN_ROUTE`: Route to GET the anonymous token. Must start with `/`
- `GOOGLE_CLIENT_ID`: Client ID gotten from Google Developers Dashboard

Example:
```
API_URL='http://localhost:5000'
TOKEN_ROUTE='/token'
GOOGLE_CLIENT_ID='YOUR_ID_HERE.apps.googleusercontent.com'
```