2021-02-02 14:35:10 +01:00
2021-01-30 17:22:42 +01:00
2021-02-02 14:31:36 +01:00
2021-01-30 18:05:37 +01:00
2021-01-30 17:21:46 +01:00
2021-01-30 17:50:09 +01:00
2021-01-27 17:40:34 +00:00
2021-01-30 18:11:27 +01:00
2021-02-02 14:35:10 +01:00
2021-01-30 17:22:17 +01:00

@lfk/document-server

The document generation server responsible for creating pdfs for sponsoring contracts, certificates and more.

Quickstart 🐳

Use this to run the document server in docker.

  1. Clone the repo or copy the docker-compose
  2. Run in toe folder that contains the docker-compose file: docker-compose up -d
  3. Visit http://127.0.0.1:4010/docs to check if the server is running

Dev Setup 🛠

Local dev setup

  1. Rename the .env.example file to .env (you can adjust app port and other settings, if needed)
  2. Install Dependencies
    yarn
    
  3. Start the server
    yarn dev
    

ENV Vars

You can provide them via .env file or docker env vars.

Name Type Default Description
APP_PORT Number 4010 The port the backend server listens on. Is optional.
NODE_ENV String dev The apps env - influences debug info.
Description
The document generation server responsible for creating pdfs for sponsoring contracts, certificates and more.
Readme 6.2 MiB
Release 0.5.1 Latest
2021-04-22 16:16:43 +00:00
Languages
Go 66.8%
HTML 32.8%
Dockerfile 0.4%