The Docker Compose file in this repo will create a full IAM deployment, as described in the
IAM documentation. Along with those components, both the frontend and backend will be deployed
with hot-reload development servers. The UI will be accessible on http://localhost:3000 (the API is exposed separately
on port 4242). Be sure to copy
config.frontend.js and make any desired changes.
Before starting the server, you should get some Stripe test keys in order to test Stripe transaction functionality.
The secret key should be written to
.env in the root of the repo as
STRIPE_PRIVATE_KEY. The public key should be
used as the value for
You should also set up a webhook in the Stripe dashboard for the
/webhook backend endpoint.
is located under the
payments_server/ subdirectory and has its own production
Dockerfile which is Node.js-based to
run the payment API server. The root
based on nginx which serves the static files.
Dockerfile.dev serves as a hot-reload Node.js base image for both the
frontend and backend.
This repo makes use of the
docs.yaml GitHub Actions workflows as
described in the IAM documentation. Note that
building two separate Docker images in this case: one for the frontend and one for the backend.
- New releases should be made in the same manner as for IAM (the
- When upgrading Node.js, keep in mind that the
payments_server/Dockerfileall need to be update individually