GithubHelp home page GithubHelp logo

133readerboy / database-doc-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hacker-and-painter/database-doc-generator

0.0 0.0 0.0 728 KB

📄 springboot 实现数据库文档生成器,根据数据库表DDL生成markdown文档,支持Mysql、postgresql等数据库

Java 96.50% HTML 3.50%

database-doc-generator's Introduction

springboot实现数据库文档生成器 2.0

原项目地址 database-doc-generator

使用springboot对原项目进行改造

1. 功能介绍

根据数据库表DDL生成markdown文档,支持Mysql、postgresql等数据库

2. 快速使用

idea打开项目, 运行项目后,在浏览器上打开swagger地址,填写数据库参数,执行generator接口

localhost:8080/swagger-ui.html

2.1 使用MySQL数据库生成文档示例

2.2 使用PostgreSQL数据库生成文档示例

2.3 使用gitbook在线查看数据文档

确保安装了gitbook后,进入上述文件目录的命令行窗口运行:gitbook serve

Live reload server started on port: 35729
Press CTRL+C to quit ...

info: 7 plugins are installed 
info: loading plugin "livereload"... OK 
info: loading plugin "highlight"... OK 
info: loading plugin "search"... OK 
info: loading plugin "lunr"... OK 
info: loading plugin "sharing"... OK 
info: loading plugin "fontsettings"... OK 
info: loading plugin "theme-default"... OK 
info: found 3 pages 
info: found 0 asset files 
info: >> generation finished with success in 0.9s ! 

Starting server ...
Serving book on http://localhost:4000

访问 http://localhost:4000 ,即可在线查看数据库文档

如果遇到 You already have a server listening on 35729 错误信息,使用以下命令解决

sudo lsof -i :35729
kill 查到的pid即可

2.4 查看生成的HTMl页面和word文档

database-doc-generator's People

Contributors

douguohai avatar gaohanghang 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.