https://github.com/flow-build/admin
https://github.com/flow-build/admin
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flow-build/admin
- Owner: flow-build
- License: apache-2.0
- Created: 2020-03-17T15:13:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-07T23:06:42.000Z (almost 3 years ago)
- Last Synced: 2025-05-29T09:19:44.664Z (about 1 year ago)
- Language: JavaScript
- Size: 4.39 MB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: .github/SECURITY.md
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'
```