Skip to content

AbalobiSA/mysql-markdown-doc-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown generator for MySQL schema's tables

Table of Contents

Prerequisite

  • NodeJS >= 8.x
  • MySQL >= 5.x

Arguments

These arguments either need to pass from environment variables or command line arguments, if pass from both then command line will be used

Name Required Deafult
DB_HOST Yes 127.0.0.1
DB_PORT Yes 3306
DB_USER Yes root
DB_PASSWORD Yes
DB_DATABASE Yes test
FILE_PATH Yes .(current directory)
FILE_NAME Yes ${DB_DATABASE}.md

Install third part dependencies

Go to inside project using cd command and then run

npm install

Run

node index.js

or with arguments

node index.js DB_HOST=localhost DB_USER=root DB_PASSWORD=test DB_DATABASE=test FILE_NAME=FirstTest.md

About

NodeJS script to pull comments from MySQL tables and fields and generate a Markdown document

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors