Skip to content

JannesNebendahl/hsfl-master-ai-cloud-engineering

 
 

Repository files navigation

PDF-Designer

codecov

Description

The PDF Designer project allows users to generate PDFs based on a custom template. These templates can be dynamically populated with data, such as invoice generation or listing data in a table.

Authors

Hauke Ingwersen
[email protected]
Hochschule Flensburg

Robert Pfeiffer
[email protected]
Hochschule Flensburg

Jannes Nebendahl
[email protected]
Hochschule Flensburg

Installation

Please copy the .env.example file to .env and adjust the AUTH_SIGN_KEY=.

cp .env.example .env

Create a private key for signing JWT tokens:

openssl genrsa -out key.pem 2048
openssl rsa -in key.pem -outform PEM -pubout -out public.pem

Create a private key for signing JWT tokens:

openssl genrsa -out key.pem 2048
openssl rsa -in key.pem -outform PEM -pubout -out public.pem

Update the content of your .env file in the project root.

AUTH_PRIVATE_KEY="<your-private-key>"
AUTH_PUBLIC_KEY="<your-public-key>"

To build the docker container you have to run the following command:

docker-compose up -d --build

Installation with MacOS ARM

Add the following line under web in the docker-compose.yml file only if MacOS with ARM is being used: platform: linux/amd64

Start Application

You can host the application in the following 3 environments. To start them you can use the script files in the script directory.

Docker

Run the script script\start_docker

Kubernetes with Minicube

Run the script script\start_minicube

Kubernetes on own Cluster

Run the script script\start_own_cluster

Test account

User: [email protected]

Password: test

Current Architecture

currentArchitecture

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 65.7%
  • Elm 30.8%
  • Dockerfile 1.7%
  • Shell 1.1%
  • JavaScript 0.5%
  • HTML 0.2%