UNPKG

@avleon/cli

Version:

> **๐Ÿšง This project is in active development.** > > It is **not stable** and **not ready** for live environments. > Use **only for testing, experimentation, or internal evaluation**. > > ####โ— Risks of using this in production: > > - ๐Ÿ”„ Breaking changes

67 lines (55 loc) โ€ข 1.4 kB
### โš ๏ธ WARNING: NOT FOR PRODUCTION USE > **๐Ÿšง This project is in active development.** > > It is **not stable** and **not ready** for live environments. > Use **only for testing, experimentation, or internal evaluation**. > > ####โ— Risks of using this in production: > > - ๐Ÿ”„ Breaking changes may be introduced at any time > - ๐Ÿงช Features are experimental and may be unstable > - ๐Ÿ” Security has not been audited > - ๐Ÿ’ฅ Potential for data loss or critical errors > > **Please do not deploy this in production environments.** # Avleon CLI - v0.0.37 ### Create Application ```sh npx @avleon/cli new my_api ``` ### Create Controller ```sh npx avleon make:controller product # or shorthand npx avleon m:c product # for resource controller with -r flag npx avleon m:c product -m product -r ``` ### Create Model/Entity ```sh # basic model npx avleon make:model product # typeorm model npx avleon m:m product --orm ``` ### Create Service ```sh # basic service npx avleon make:service product # resource service with built-in collection npx avleon make:service product -m product -r # resource service with typeorm collection npx avleon make:service product -m product -r --orm ``` ### Create Middleware ```sh npx avleon make:config product ``` ### Create Config ```sh npx avleon make:config product ``` ### Create authoriztion (Experimental) ```sh npx avleon make:auth jwt ```