npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

@axway/api-builder

4.5.23 • Public • Published

@axway/api-builder

Axway API Builder

Getting Started

Install the API Builder globally using npm.

[sudo] npm install -g @axway/api-builder

Once api-builder CLI is installed, generate a new service called "myservice". It will create a new directory ./myservice and generate the service.

api-builder init myservice

Then install the service's dependencies and start the API Builder service.

cd ./myservice
npm install --no-optional
npm start

Once it is running, you can open your browser to http://localhost:8080/console to access the UI.

Running your API Builder service

Running an API Builder service will launch the runtime and the UI, which can be used to make changes to your service. By default, the service will bind to http://localhost:8080. If you wish to change this, see the following section on Providing environment-specific configuration.

Providing environment-specific configuration

You can choose which configuration values you want to be configurable from the environment by explicitly setting them at process.env. For example, to make the port configurable you could do:

// The port for the UI
port: parseInt(process.env.PORT) || 8000,

CLI reference

api-builder init <dir>

Create an API Builder service.

Arguments

dir - The directory to initialize.

Description

Creates and initializes a new API Builder service by creating the service in a directory specified by dir. The command will not run if the directory exists or if the command is run within an API Builder service directory.

Author

Axway support@axway.com https://axway.com

License

This code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: https://support.axway.com/en/auth/general-conditions; EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.

install

npm i @axway/api-builder

Downloadsweekly downloads

45

version

4.5.23

license

SEE LICENCE IN LICENSE

repository

Gitgit

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability