The GUI to my small demo project, based upon the video tutorial by "Stack That Code" on YouTube:
You can find my implementation of the server-api side of things in my other repository.
Divergent from the video series, a few more/different technologies were added:
I used the technique(mainly the env.sh bash script) described here to generate a js-enviroment file from the .env file within the project. That file (which lives in the head section of the index.html) then checks to see if the container received one or more of the parameters at startup and, if so, uses the parameters instead of the standard ones.
docker run -e GRAPHQL_HOST=<ip-of-host-of-graphql-api> -p <host-port>:80 timesink/ts-auth-client-react:<tag-you-want>yarn run start to start the application (yarn run start:rebuild if the env-file changed)Content type
Image
Digest
Size
10 MB
Last updated
about 6 years ago
docker pull timesink/ts-auth-client-react