Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 1.23 KB

readme.md

File metadata and controls

83 lines (52 loc) · 1.23 KB

Accalia-Tools CLI

Create your Full-Stack project

Installation

  • Using npm:

npm install -g @accalia.io/accalia-tools

  • Using yarn:

yarn global add @accalia.io/accalia-tools

Project Usage

  • Creates a ProjectName directory and installs api, web and app:
accalia-tools init ProjectName
  • Creates a ProjectName directory but only installs api and app:
accalia-tools init ProjectName --only=api,app,web
  • Install only web on current directory:
accalia-tools init . --only=web

Backend Options

  • Create a empty Model using Sequelize:
accalia-tools generate:model ModelName
  • Create a empty Model using Mongoose:
accalia-tools generate:model ModelName
  • Create a empty Controller:
accalia-tools generate:controller ControllerName
  • Create a CRUD controller using Sequelize:
accalia-tools generate:crud ModelName
  • Create a CRUD controller using Sequelize and create Model:
accalia-tools generate:crud ModelName --model

Frontend Options

  • Create a Component:
accalia-tools generate:component ComponentName
  • Create a Page:
accalia-tools generate:page PageName

License

MIT - see LICENSE