This simple UI can be used to experiment with Autoteka API or can be viewed as an example of not really correct usage of https://github.com/ruamc/autoteka package.
- fronetend
$ npm install
$ parcel build index.html
- backend
$ stack build
You need valid API credentials to run backend.
CLIENT_ID="gQD..." CLIENT_SECRET="9vG..." stack run
The code is quick an dirty.
There are some hardcoded values:
- backend listens to port
3000 - backend serves frontend from
./dist - token refresh interval is 20 minutes