# 📃 😎 DocKing:  manage document templates & render PDFs microservice

Hi folks,

I'm excited to share one of my latest works with you all - introducing DocKing.

## Introduction

DocKing is a document management service and microservice that manages templates and renders them in PDF format, all within a single platform.

You can utilize DocKing as a shared microservice, which can be integrated & used in any services from your big product.

* Documentation: [DocKing's doc](https://docking.shipsaas.tech/)
    
* GitHub Repo: [https://github.com/shipsaas/docking](https://github.com/shipsaas/docking)
    

![DocKing's Logo](https://res.cloudinary.com/practicaldev/image/fetch/s--Mr-YP_av--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://raw.githubusercontent.com/shipsaas/docking/main/docs/img/logo.png align="center")

## Live DEMO 🔥

* URL: [https://docking-demo.shipsaas.tech/](https://docking-demo.shipsaas.tech/) (feel free to hit the APIs)
    
* Console: [https://docking-demo.shipsaas.tech/console#/](https://docking-demo.shipsaas.tech/console#/)
    
    * Password: None
        

## Features 🚀

* Manage your document templates 📰🧾.
    
* Render HTML based on your desired data for a specific template, then export it as PDF 🏃‍.
    
* Supports multiple state-of-the-art PDF Engines 🍻.
    
* Webhook notification after PDF rendered (for async flow) 🚀
    
* Built-in UI-console to manage the templates & files (for internal use) 🔋.
    
* DocKing can perfectly fit for the horizontal scaling based on your needs 😉.
    

## Diagram of how it works

[![DocKing's Diagram](https://res.cloudinary.com/practicaldev/image/fetch/s--wRFlKZkL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://github.com/shipsaas/docking/blob/main/docs/img/full-picture.png%3Fraw%3Dtrue%3Fraw%3Dtrue align="left")](https://res.cloudinary.com/practicaldev/image/fetch/s--wRFlKZkL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://github.com/shipsaas/docking/blob/main/docs/img/full-picture.png%3Fraw%3Dtrue%3Fraw%3Dtrue)

From the diagram above, DocKing is standing as a "shared-microservice" in my product.

* Billing Service can manage their bill templates and render the PDFs.
    
* Order Service can manage their order templates and render the PDFs.
    
* Contract Service can manage their contract templates and render the PDFs.
    
* ...
    

## Usage

### Manage Document Templates

Using the built-in Dashboard, I've built a lovely screen just to manage & test the templates with ease.

### Render PDF

Use the [endpoints](https://docking.shipsaas.tech/deep-dive/endpoints) of DocKing to render.

## Final Words

With DocKing, you don't have to build up the document templates & render PDFs. Especially in microservice, we can have a single shared microservice aka DocKing to handle that 🚀

Give it a ⭐️⭐️⭐️ if it's helpful, many thanks 🥹

Cheers!
