pokusio / kaleidoscopic

A simple example, dockerized, express web application exposing a REST Endpoint to set its background color
0 stars 0 forks source link

add Type ORM and mongo #4

Open Jean-Baptiste-Lasselle opened 4 years ago

Jean-Baptiste-Lasselle commented 4 years ago

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 :D

see 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:

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

Jean-Baptiste-Lasselle commented 4 years ago

run will test against mongo directly in kubernetes with helmchart see https://github.com/pokusio/kaleidoscopic/issues/7

Jean-Baptiste-Lasselle commented 4 years ago

also install docker n k3d on macos for quick tests https://github.com/pokusio/kaleidoscopic/issues/8