Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.03 KB

node-efdi

A test service for EFDI protobuf messages based on express

Installation

Make sure you have installed node.js on your system.

Download this repository to your local system or clone it

git clone https://github.com/krone-landmaschinen/node-efdi

Then install the modules. Go to your local directory of "node-efdi" and type

npm install

Currently the required proto files for FMISExchange and ISO_DIS_11783-10 need to be added manually into the "handlers" sub directory. This is due to licensing issues.

Running the service

Open a command line and change to the local repository directory. Then run the service by

node bin/www

Now you can access the service on your local system on port 3000

http://localhost:3000/service/efdi

For testing your local service you can use the HTML gui that sends and receives protobuf messages and also shows the server's incoming messages

http://localhost:3000/gui/