0.0.3 • Published 6 years ago

generator-rxrbotbackend v0.0.3

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
6 years ago

generator-rxrbotbackend

The initial project setup for RxR-ChatBot Backend

Installation

First, install Yeoman and generator-rxrbotbackend-generator using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-rxrbotbackend-generator

Then generate your new project:

yo rxrbotbackend-generator

Sample list of Steps:-

PS D:\Work\TestRxRBotBackEndGenerator> npm i -g generator-rxrbotbackend
+ generator-rxrbotbackend@0.0.2
updated 1 package in 4.39s

PS D:\Work\TestRxRBotBackEndGenerator> yo rxrbotbackend
? Your project name BotBackEndGenTest
? What type of project would you like to create? Node/Other
    Initial setup created successfully. To know what all you can do, please type
    yo rxrbotbackend --info
   create package.json
   create banking\AccountService.js
   create banking\balance_retrieval.js
   create banking\data\258293-832.json
   create banking\data\4352-3423-1234-5239.json
   create banking\data\903423-123.json
   create banking\data\accounts.json
   create banking\data\paymentAccounts.json
   create banking\instant-apps\Bank-Transaction-Interactive-With-Verify.json
   create banking\payments.js
   create banking\track_spending.js
   create banking\transactions_retrieval.js
   create mcebots.raml
   create MessageModel.js
   create package-lock.json
   create registry.js
   create registry.json
   create sdk.js
   create shell.js
   create components.js
   create index.js
   
   
PS D:\Work\TestRxRBotBackEndGenerator> yo rxrbotbackend --info
  Hi! Welcome to RxRBotBackend-generator, here's what you can do:

  # OPTION                               # DESCRIPTION
  --info                                 # Lists out all the available commands and options to use with RxRBotBackend-Generator
  --list                                 # Lists out all the components that are used inside this project
  yo rxrbotbackend-generator             # Creates a quick start template for the bot backend
  yo rxrbotbackend-generator:component   # Adds a new component to the project

PS D:\Work\TestRxRBotBackEndGenerator> yo rxrbotbackend --list
  The list of components available are:

  # COMPONENT NAME        # LOCATION
  BalanceRetrieval        ./banking/balance_retrieval
  TransactionsRetrieval   ./banking/transactions_retrieval
  TrackSpending           ./banking/track_spending
  Payments                ./banking/payments
PS D:\Work\TestRxRBotBackEndGenerator> yo rxrbotbackend:component
? Where do you want to create a new component? Create as a New Module
? Your Module name Audit
? Your component name getAuditDetails
   create Audit\getAuditDetails.js
PS D:\Work\TestRxRBotBackEndGenerator> yo rxrbotbackend --list
  The list of components available are:

  # COMPONENT NAME        # LOCATION
  BalanceRetrieval        ./banking/balance_retrieval
  TransactionsRetrieval   ./banking/transactions_retrieval
  TrackSpending           ./banking/track_spending
  Payments                ./banking/payments
  getAuditDetails         ./Audit/getAuditDetails

License

GPL-3.0 © Rubicon Red

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago