@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.
- Clone the repo or copy the docker-compose
- Run in toe folder that contains the docker-compose file:
docker-compose up -d
- Visit http://127.0.0.1:4010/docs to check if the server is running
Dev Setup 🛠
Local dev setup
- Rename the .env.example file to .env (you can adjust app port and other settings, if needed)
- Install Dependencies
yarn
- 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.
Release 0.5.1
Latest
Languages
Go
66.8%
HTML
32.8%
Dockerfile
0.4%