Skip to content

enixjin/corecli

Repository files navigation

core cli

A cli tools for generate projects from database
@see @jinyexin/core for more information

changelog

2.2.17 update to webpack4
2.2.16 update to winston3 and initial support for swagger
2.2.12 update core log to winston.silly and fix debug info is written in error log while working with pm2
2.2.6 merge default CRUD requests e.g. {Post} /api/users {...} for insert, {Post} /api/users [{...},{...}] for batch insert
2.2.0 initial support for socket.io
2.1.4 remove rxjs-compat
2.1.2 update service in web for new DI of angular6
2.1.0 upgrade to angular6 and align major version with core
0.1.5 support only generate/regenerate for one table in current project @see -t

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 -d ${database} -x ${perfix}

Run project

cd generated/code/folder

cd domain

npm i && npm start

cd web

npm i && npm start

visit localhost:3000 for api doc

visit localhost:4200 for web     

More Information

corecli --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy