@jinyexin/corecli

A cli tools for generate projects from database

Stats

StarsIssuesVersionUpdatedCreatedSize
@jinyexin/corecli
3.3.82 years ago4 years agoMinified + gzip package size for @jinyexin/corecli in KB

Readme

core cli

A cli tools for generate projects from database

@see core for more information

source code

changelog

see CHANGELOG

Generate from database

create ${database} in MySQL, all table should have ${perfix}, e.g tb_user,tb_course

npm i @jinyexin/corecli -g

create project folder

in project folder

corecli

Run project

cd generated/code/folder

//domain
cd domain

git init

npm i && npm start

//web
cd web

npm i && npm start

visit localhost:3000/api-docs for api doc

visit localhost:4200 for web

Debug project

  • for vscode, see .vscode/launch.json

  • for webstorm add a nodejs configuration with "Node parameters"="-r ts-node/register" and "Javascript file"="src/app.ts"

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.