Skip to content

go-feature-flag/flag-management

Repository files navigation

GO Feature Flag API - API to configure your feature flag

WIP Build codecov

This repository is a work in progress initiative to create an API to manage your feature flags.

Goals

  • Create an API to manage your feature flags
  • API should allow to add, modify and delete feature flags.
  • Use a database to store the feature flags.
  • This API is created to integrate a front end application to manage the feature flags.
  • We should manage authentication and authorization to access the API.
    • Authentication should be generic enough to be integrated with any authentication provider.
  • We should be able to provide history of a flag to see when it was created, modified and deleted.

Tech stack

  • GO API using echo
  • Postgres database using sqlx and pq as driver.

Contributing

⚠️ Since this it is a work in progress initiative please come to the Slack channel first before contributing.

How to start the project.

After cloning the project you can start the database (using docker):

make setup-env

It will start an instance of postgres with the following credentials:

  • user: goff-user
  • password: my-secret-pw

And it will apply the database migrations to your environment.

To start the API:

make build
./out/bin/goff-api

When started you can access the swagger UI at http://localhost:3001/swagger/.

About

API to manage your feature flags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project