Wondering what’s next for npm?Check out our public roadmap! »

    webda-shell
    TypeScript icon, indicating that this package has built-in type declarations

    0.11.9 • Public • Published

    webda-shell

    Composable Serverless API

    This is the configuration interface, deployment interface for the project Webda

    http://webda.io

    Check our video presentation on Youtube

    Install

    npm install -g webda-shell
    

    Configuration UI

    Just type

    webda config
    

    You'll get the configuration UI for your project

    # To avoid opening browser
    webda config --no-open
    
    # Display the configuration for a specific deployment
    webda config -d deploymentName
    
    # Export the configuration for a specific deployment to a file
    webda config -d deploymentName export.json
    

    Serve the current project

    This will load the Webda framework and run your project with it on port 18080

    webda serve
    

    You can serve with a specific deployment configuration by adding the deployment name

    webda -d deploymentName serve
    

    Debug the current project

    webda debug
    

    You can debug with a specific deployment configuration by adding the deployment name

    webda -d deploymentName debug
    

    It will serve the project on port 18080 and restart the server on any changes made on the folder files If the project has a tsconfig.json, then webda debug will launch the typescript compiler and restart server everytime the compilation process finishes with success.

    Deploy

    First you need to create a deployment, from the configuration UI

    Then just use the Deploy button on the UI or with webda client :

    webda -d deploymentName deploy
    

    Generate Swagger/Postman configuration

    If you use Amazon we expose a way for you to get the Postman configuration of your API using AWS

    webda -d deploymentName deploy export swagger postman postman.json
    

    Only redeploy Lambda code on AWS

    webda -d deploymentName deploy lambda
    

    Configuration UI

    Here is some screenshots of the ui, it is accessible once the webda config is running, it will launch your browser for you to use the configurator.

    Routes

    image image

    Services

    image image

    Deployments

    image image image

    Requirements

    Node.js >= 8.0.0

    Licence

    LGPL 3.0

    Install

    npm i webda-shell

    DownloadsWeekly Downloads

    124

    Version

    0.11.9

    License

    none

    Unpacked Size

    375 kB

    Total Files

    50

    Last publish

    Collaborators

    • avatar