Giter VIP home page Giter VIP logo

sample-react's Introduction

Business Applications by jBPM - integration with React

This is a demo business application built with https://start.jbpm.org and expanded to add React frontend.

React demo'

Demo shows how you can use React app frontend for your app which communicates to the REST api provided out of the box. It also shows how you can create additional REST endpoints easily and have the data they provide displayed and updated on via React.

Getting Started

  1. Clone this repository locally:

    git clone https://github.com/business-applications/sample-react.git
    cd sample-react
    cd sample-react-service
    chmod 755 launch.sh (only needed for unix environments , use launch.bat for windows)
    
  2. Access your application at localhost:8090

Techs needed

To run this demo you will need to have Node and NPM installed. The good news is that they will be intsalled for you (if not already available) during the build of this demo (thanks to frontend-maven-plugin).

Understanding the demo

  1. The sample-react-service module includes the React frontend application (under the reactapp directory)
  2. The sample-react-service pom.xml uses the frontend-maven-plugin and maven-antrun-plugin to build the React frontend app and then bundle it with the generated jbpm business application jar during the build process.
  3. There is no need to start the React frontend app separately from the jbpm business app serice app.
  4. When your access your application you can click on the "Start" buttons next to your process definitions section. After the process is started the process inststances section updates automatically to display process instances.

sample-react's People

Contributors

suri33 avatar

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.