xc-cli

0.3.2 • Public • Published

One command to generate REST APIs and GraphQL APis for any database with code

Setup and Usage

npm install -g xc-cli

Usage: xc [options]

Options:
    open                            Opens xgenecloud Desktop App

    gen.new.rest                    Creates a new project and generates code for a DB URL
    gen.apis                        Generates REST APIs for db URLs   
    gen.apis.rest                   Generates REST APIs for db URLs
    gen.apis.graphql                Generates GraphQL APIs for db URLs
     
    gen.component                   Generates a Component 
    gen.rest.module                 Generates a Module
    gen.rest.module.router          Generates a Router
    gen.rest.module.middleware      Generates a Middleware
    gen.rest.module.service         Generates a Service
    
    gen.component                   Generates a Component
    gen.gql.module                  Generates a Module
    gen.gql.module.resolver         Generates a Resolver
    gen.gql.module.middleware       Generates a Resolver
    gen.gql.module.service          Generates a Resolver

    gen.gql.type                    Generates a GraphQL type class
    gen.gql.schema                  Generates Schema  

    db.migrate.init
    db.migrate.up
    db.migrate.down
    db.migrate.sync
    db.migrate.list
    db.migrate.clean

   
    add.env                  add an environment
    add.db                   add a database to environment
  
    help                     output usage information

Readme

Keywords

none

Package Sidebar

Install

npm i xc-cli

Homepage

xgene.cloud

Weekly Downloads

1

Version

0.3.2

License

Apache-2.0

Unpacked Size

105 kB

Total Files

23

Last publish

Collaborators

  • mertmit
  • wingkwong
  • o1lab
  • pranavxc