GithubHelp home page GithubHelp logo

shafreenanfar / composer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ballerina-attic/composer

0.0 0.0 0.0 26.78 MB

License: Other

Shell 0.18% Batchfile 0.16% Java 9.72% CSS 12.41% HTML 1.62% JavaScript 75.52% ANTLR 0.40%

composer's Introduction

Ballerina Composer

The Ballerina Composer provides a flexible and powerful browser-based tool for creating your Ballerina programs. You can build your integrations by creating sequence diagrams, dragging elements from a tool palette onto a canvas. As you build the diagrams, the underlying code is written for you, which you can work with in the Source view. You can also use the Swagger view to define services by writing Swagger definitions. You can switch seamlessly between the Design view, Source view, and Swagger view and create your programs in the way that you like to work.

You can create your integration in Design view:

alt text

And go to Source view to edit the code that's generated:

alt text

You can also go to Swagger view to edit the Swagger definition that's generated:

alt text

How to build

The build process of the composer works on Node Package Manager(npm).

Prerequisites

-Latest NPM installed
-Maven

Steps to build

-npm install - To get all the dependencies.
-npm run test - To execute tests.
-npm run build-pack - To build the complete distribution including the site and the microservice.

Dev commands

-npm run build or npm run webpack - To build the site only.
-npm run build-service - To build the backend microservice.
-npm run build-dist - To build the backend microservice and build the distribution.
-npm run dev - To start development server with hot deployment. Go to http://localhost:8080 or http://127.0.0.1:8080 afterwards.

Running the Composer

The Composer is included in the full distribution of Ballerina, which you can download from www.ballerinalang.org. After you unzip it, navigate to its bin directory in the command line, and enter the following command:

For Windows

composer.bat

For Unix/Linux

./composer

The command line will display the URL you can use to access the Composer in your browser.

For complete instructions on creating your integrations and using the Composer, see the Ballerina documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.