Open Jean-Baptiste-Lasselle opened 4 years ago
run will test against mongo directly in kubernetes with helmchart see https://github.com/pokusio/kaleidoscopic/issues/7
also install docker n k3d on macos for quick tests https://github.com/pokusio/kaleidoscopic/issues/8
To persist POST REST Endpoint calls to Mongo
and get color from mongo as well
after that, connect the angular web ui to REST API using
RxJS/axios
and we're good :Dsee https://github.com/dgreene1/tsoa-koa-example-with-typeorm
for example use of Type ORM
to get the current set value of the UI theme:
PrimaryColor
mongo collection table will simply have one row, telling the GUID of the Primary Colorin theColor
Collection :primary
: with the GUID of the primary color,tothen retirieve in theColor
collection, the primary Colorsecondrary
couldalsobe sued to go further@Path
Parameter : the GUIDof that color.Anyway, just find a way to GET a Color by GUID? Andjust one collection which is meant to always have one record only, givingthe GUID of the Primary Color