GO service for processing ingest related forms This project is a Go module that uses the Gin web framework and Bootstrap 5 to implement a web-based UI with the following features:
- Form Selection: Users can choose which form to use from a main page.
- Dynamic Form Rendering: The UI presents the appropriate form for creating the associated JSON document based on user input.
- Default Version Value: Any input field named
version
is pre-filled with the default value"V01"
. - Back Navigation: Each form includes a back button that returns the user to the main page.
- Docker and Docker Compose installed
- A credentials file named
CREDENTIALS_FILE
in the user home directory (or update the path indocker-compose.yml
)
-
Place your credentials in a file named
CREDENTIALS_FILE
in the home directory. -
Build and start the container using Docker Compose from the
docker
directory:cd docker docker compose up --build
-
The app will be available at http://localhost:8080
To stop the app, press Ctrl+C
in the terminal and run:
docker compose down
- The
CREDENTIALS_FILE
is mounted as a Docker secret and available in the container at/run/secrets/CREDENTIALS_FILE
. - You can change the port mapping in
docker-compose.yml
if needed.