Feature flags server
Project description
FeatureFlags service
Overview
Server requires Python >= 3.11. Server consists of actual web application and API handlers (HTTP, gRPC):
-
Web application:
fastapi_
+hiku_
+aiopg_
on backendreact.js
_ +Apollo
_ on frontend
-
gRPC API handler:
grpclib_
+hiku_
-
HTTP API handler:
fastapi_
+hiku_
ADR
Check important architecture decisions in adr/
directory.
Installation
On PyPi: https://pypi.org/project/evo-featureflags-server
To install client library follow instructions here: evo-featureflags-client
Development
Run all this commands:
lets postgres
lets apply-migrations-dev
lets apply-seeds-dev
# if you have data inseeds/
directorylets web
# in separate terminallets ui
# in separate terminal
To start API handlers (not required for web application):
lets http
# in separate terminallets rpc
# in separate terminal
To build UI and copy it to web/static
directory:
lets build-copy-ui-bundle
To release package:
lets release 1.0.0 --message="Added feature"
Pre-commit
./scripts/enable-hooks.sh
./scripts/disable-hooks.sh
TODO:
- add docs, automate docs build
- add more tests
.. _fastapi: https://github.com/tiangolo/fastapi .. _hiku: https://github.com/vmagamedov/hiku .. _aiopg: https://github.com/aio-libs/aiopg .. _grpclib: https://github.com/vmagamedov/grpclib
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for evo_featureflags_server-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0598ff1236dfb8f8099d1ab15bf4a49fe7f9b4f525ec6bb185c183b9f43ddf36 |
|
MD5 | c5c255bb0aba6cf07af05c3fff02a4f3 |
|
BLAKE2b-256 | 1f1f2a3d57c1783621df2a6bd7c6102e210a9ac40a99224294d95b620160989e |
Hashes for evo_featureflags_server-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7fab1291b5a0570749dd75bb3ddbece671b7f7cdda75b4e3e145d876b8ef8f7 |
|
MD5 | 8d36743afe313f66c76483b25cb929bd |
|
BLAKE2b-256 | cdb6a614fb0c618784048ccdb2b8472533f6a93342dd1764a76418299dc352d6 |