sails-application-generator

0.0.4 • Public • Published

sails-pluggable

for installing the module

npm install -g sail-application-generator

for starting application with apache-kafka

goto kafka_2.12-0.10.2.0 folder from terminal and run the following commnads
    1) bin/zookeeper-server-start.sh config/zookeeper.properties
    2) for running server 
        bin/kafkas-server-start.sh config/server.properties

running the application 
    npm install
    npm start
for creating project
    sag new projectName
for creating controller 
    sag controller controllerName
    
for creating models
    sag model modelName


for creating services
    sag service serviceName


for creating policies
    sag policies policieName


for changing database name
    sag --config db_name databaseName

mongodb to sails models
 sails-inverse-model -d blog_db -t mg -m -v -c

Package Sidebar

Install

npm i sails-application-generator

Weekly Downloads

2

Version

0.0.4

License

Apache-2.0

Unpacked Size

56.5 MB

Total Files

421

Last publish

Collaborators

  • praveen4554