https://github.com/flanksource/flanksource-ui
https://github.com/flanksource/flanksource-ui
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/flanksource/flanksource-ui
- Owner: flanksource
- License: other
- Created: 2021-08-15T12:46:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-05-01T06:56:35.000Z (about 2 months ago)
- Last Synced: 2026-05-01T08:31:04.407Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://flanksource-ui.vercel.app
- Size: 42.3 MB
- Stars: 12
- Watchers: 4
- Forks: 25
- Open Issues: 434
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Mission Control Frontend
## Contributing
See [javascript style guide](https://github.com/flanksource/style-guide/blob/master/docs/front-end.md)
## Local Setup
1. Install [nvm](https://github.com/nvm-sh/nvm)
2. Run `nvm install` in the root directory of the repo, this will install the nodejs version needed for the front end setup. The version is set in `.nvmrc`
3. Run `npm install` this will install all dependencies
4. Create `.env.local file` and copy `.env` file content to `.env.local` file and set the flags values as mentioned below
```
SKIP_PREFLIGHT_CHECK=true
PORT=3004
# ORY_KRATOS_URL=http://kratos.canary.lab.flanksource.com/
# NEXT_PUBLIC_APP_DEPLOYMENT=CANARY_CHECKER
NEXT_PUBLIC_WITHOUT_SESSION=false
BACKEND_URL=https://incident-commander.demo.aws.flanksource.com
ENV=localhost
```
5. Run `npm run dev` to launch the front end application (note: api calls will be proxied to dev environment here).
6. If you don't have any account to login please create an account by going to the page [http://localhost:3000/registration](http://localhost:3000/registration).
7. If you have account login using that account by going to the page [http://localhost:3000/login](http://localhost:3000/login).
## Script
- `npm run storybook` to start a storybook server to test components without the need for a backend
- `npm run start` to start next.js in watch mode
- `npm run test:ci` to run tests
- `npm run build` to test production build