Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
/ flipt-ui Public archive

Brand new UI for Flipt

License

Notifications You must be signed in to change notification settings

flipt-io/flipt-ui

Repository files navigation

Flipt UI

Build Discord

This repository contains the UI for Flipt as of v1.17.0.

It is built with React, Tailwind CSS and TypeScript.

Packaging

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.

Building

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

Development

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.

Prerequisites

Flipt API

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.

Install Dependencies

npm install

Running the UI

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.

Contributing

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.

Conventional Commits

We use Conventional Commits for commit messages. Please adhere to this specification when contributing.

About

Brand new UI for Flipt

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages