Skip to content

MarkelCA/toggles

Repository files navigation

toggles

Toggles is a feature flags engine made in Go. Its default implementation uses MongoDB for disk storage and Redis for flag value cache management. It includes implementations as a REST API, WebSocket server, and CLI tool. There are also plans to build SDKs soon.

Configure

In this step you'll be able to configure the port where the service will run (APP_PORT) and the desired implementation (APP). The APP value should be a folder from cmd. Currently there's two options: api (rest api) and ws (websocket).

cp .env.example .env

Example env file:

APP=ws
APP_PORT=3000

Install

Using docker:

git clone https://github.com/MarkelCA/toggles
cd toggles
docker compose up --build