@gadmin2/cli
v0.0.61
Published
Gadmin - modern, fast, powerful node.js web framework (@cli)
Downloads
40
Readme
Description
The gadmin2 CLI is a command-line interface tool that helps you to initialize, develop, and maintain your gadmin applications. It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution. It embodies best-practice architectural patterns to encourage well-structured apps.
The CLI works with schematics, and provides built in support from the schematics collection at @gadmin2/schematics.
Installation
$ yarn global add @gadmin2/cli@latest
Check CLI version
$ gadmin2 -v
Usage
CLI cmd list
$ gadmin2 --help
Create a Gadmin project
$ gadmin2 n [app-name]
Define data model
$ cd app-name
$ vi config/schema.prisma
Generate code after edit config/schema.prisma
$ gadmin2 g primsa
Start web DevServer
$ cd web
$ yarn dev
Start server(nestjs) DevServer
$ cd server
$ yarn start:dev
About nestjs server read more
If using Golang server,read more
License
Gadmin is MIT licensed.