A React Single Page Application (SPA) for JSON Web Token (JWT) generation using the PKCE flow.
The generated JWTs can be used to invoke protected ALA APIs documented at https://docs.ala.org.au.
App is configured to run on a docker container locally.
-
./doc.sh image
- build the docker container image. This only has to be done once or if the Docker file is updated -
./doc.sh build
- builds the react app inside the container. The local host dir is mounted inside the container so the build artifact ends up on the local file system -
./doc.sh run
- runs a Vite dev server inside the container and maps it to http://127.0.0.1:3000/