This repository contains the UI for Flipt as of v1.17.0.
It is built with React, Tailwind CSS and TypeScript.
This repository is part of the larger Flipt build process which we are still working on improving.
Currently, it get's pulled in during Flipt builds and is not published as a standalone package.
The UI is built using Vite, which is a build tool that leverages ESM and Rollup under the hood.
To build a production version of the UI, run:
npm run build
We're actively working on making the development process easier, so stay tuned! If you have any suggestions, please open an issue or chat with us in our Discord server.
You'll need to run the Flipt API backend locally to develop the UI.
The simplest way to do this is to use the Flipt Docker image. See the documentation for more details.
Note: It's recommended to use the latest
tag for the Docker image if you want the latest stable release, otherwise you can use the nightly
tag for the most up to date code changes.
docker run -d \
-p 8080:8080 \
-p 9000:9000 \
-e FLIPT_CORS_ENABLED=true \
-v $HOME/flipt:/var/opt/flipt \
flipt/flipt:nightly
Note: CORS must be enabled since the UI runs on a different port than the API in development mode.
npm install
Run the development server in a separate terminal:
npm run dev
# or
yarn dev
Open http://localhost:5137 with your browser to see the result.
We would love your help! Before submitting a PR, please read over the Contributing guide.
No contribution is too small, whether it be bug reports/fixes, feature requests, documentation updates, or anything else that can help drive the project forward.
We use Conventional Commits for commit messages. Please adhere to this specification when contributing.