dongmingh / v1NetworkLauncher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hyperledger Fabric Network Launcher

This project uses Angular 2 and was generated with Angular CLI. It also uses a simple Express.js server to collect POST parameters and execute a shell script.

  • Visit http://nodejs.org and install the latest version of Node.js.
  • Run npm install -g typescript concurrently @angular/cli to install the Angular CLI, Typescript, and Concurrently (needed to start the servers).

Development Environment

  • Run npm install to install dependencies.
  • Run npm start to start the Angular 2 app and the Express API.
  • Navigate to http://localhost:4200/ to see the form.

The API

When the form is submitted, a POST request is sent to the Express API, which runs at http://localhost:4300/ . The API simply passes the POST parameters to the NetworkLauncher.sh script.

Watch the terminal after submitting the form. The shell script will echo the received parameters.

About


Languages

Language:JavaScript 54.2%Language:Shell 30.3%Language:TypeScript 10.7%Language:HTML 4.3%Language:CSS 0.6%