Git Product home page Git Product logo

gpdf's Introduction

gpdf

pdf操作微服务系统

项目结构

├─.idea
├─app                             // 各个微服务
│  ├─gateway                      // 网关
│  ├─pdf                          // pdf工具服务
│  └─user                         // 注册登录服务
├─bin                             // 编译后的二进制文件模块
├─config                          // 配置文件
├─doc                             // 接口文档
├─enums                           //各种常量
├─logs                            //日志文件
├─pdf_file                        //pdf中间文件
│  ├─input
│  └─output
├─pkg                             //各种包
│  ├─db                           //mysql相关
│  ├─logger                       //日志
│  └─utils                        //工具 jwt等
└─proto                           // protoc文件

架构

配置

在conf目录下的 gpdf.yaml 文件配置各服务端口号等

部署

  1. 使用docker启动相关服务(mysql等)

    docker compose up -d
  2. 启动各个微服务

    go build github.com/adnpa/gpdf/app/user/cmd
    go build github.com/adnpa/gpdf/app/pdf/cmd
    go build github.com/adnpa/gpdf/app/gateway/cmd

测试

可使用postman等工具调用http服务,postman相关配置已导出在 doc目录下gpdf.postman_collection.json文件

注册

登录

pdf相关操作

pdf相关操作需要在请求中添加jwt ,即登录接口的resp中的token

拆分

合并

添加水印

gpdf's People

Contributors

adnpa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.