Skip to content

tegarimansyah/feature_flag_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feature Flag Demo

What it is?

A prototype for showing how we can handle feature change based on feature flag.

Tech stack

  • Nuxt for frontend, served by Nginx
  • FastAPI for backend
  • Postgres for database
  • Flagr for feature flag
  • Docker compose for orchestration

Architecture

Nuxt --(auth)--> FastAPI
                    |
                    # success, check with user id
                    |
                    |------------> Flagr
                    |<------------ 
                    |
                    # receive feature list with enable flag
                    |
Nuxt <---------- FastAPI
# FE save and render

How to run

Make sure you have docker and docker-compose. Run

$ docker-compose up

Django Credential:

  • username: johndoe
  • password: supersecret
  • password for normal user: quickbrownfox

Flag

  • User Management
    • List User
    • Add User
    • Dashboard (Total and New User)
  • Transaction
  • Ticketing System
  • Server Monitoring

Flag DB:

$ docker run -it -p 18000:18000 -v $(pwd)/feature_flag/data:/data checkr/flagr 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published