Skip to content

nunojrsilva/PeerLending

Repository files navigation

PeerLending

Distributed system for loan management, built using Erlang, Java, Dropwizard (REST), ZeroMQ and Protocol Buffers.

How to get it running:

  1. Run script to install required dependencies (Needs sudo permissions)
sh downloadDependencies.sh
  1. Start Diretorio.
cd diretorio/Diretorio
java -jar target/Hello-1.0-SNAPSHOT.jar server hello.yml
  1. Start all required Exchanges.
cd Exchange
sh compilaProto.sh
sh compilaAndstart.sh exchange*.json

Different companies and ports need to detailed on JSON configuration files.

  1. Start Frontend.
cd FrontEnd
sh startFrontend.sh

Frontend also needs a configuration file. (Examples provided)

  1. Start all the necessary clients.
sh compilaProtoAndStart.sh