https://github.com/joaop21/nefit
NeFIT: Negociação de Fabricação e Importação de Produtos
https://github.com/joaop21/nefit
erlang java protocol-buffers restful-api
Last synced: about 2 months ago
JSON representation
NeFIT: Negociação de Fabricação e Importação de Produtos
- Host: GitHub
- URL: https://github.com/joaop21/nefit
- Owner: joaop21
- Created: 2020-01-28T23:26:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T14:54:03.000Z (over 6 years ago)
- Last Synced: 2025-04-07T14:46:29.813Z (about 1 year ago)
- Topics: erlang, java, protocol-buffers, restful-api
- Language: Erlang
- Size: 11.4 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NeFIT
## About
This repository holds the assignment for the curricular unit of Paradigms of Distributed Systems, inserted on the plan of studies of Distributed Systems of Computer Engineering Master Degree at University of Minho.
As such, with this project, we built trading system between manufacturers and importers, by incorporating several technologies such as Dropwizard,
## Architecture
The final implementation has three distinct servers with different purposes.
- [Frontend](https://github.com/miguelsolans/NeFIT/tree/master/Frontend): Built with Erlang, handles the communication from client to REST catalog and Negotiator
- [Catalog](https://github.com/miguelsolans/NeFIT/tree/master/catalog) - A REST Server built with Java and Dropwizard with the main purpose of storing information about different importers, manufacturers, product and transactions
- [Nagotiator](https://github.com/miguelsolans/NeFIT/tree/master/Negotiator) - Handles the negotiations of offers between Importers and Manufacturers and vice-versa
- [Client](https://github.com/miguelsolans/NeFIT/tree/master/Client) - Client application for frontend communication
## How to Run?
In order to execute all the servers listed, at the project root directory one must run the following commands
```
$ make
$ cd exec
$ java -jar nefit-1.0.jar
$ make run-frontend
$ java -jar exec/Broker-1.0.jar 6001 6002
$ java -jar exec/Negotiator-1.0.jar 4001
$ java -jar exec/Negotiator-1.0.jar 4002
$ java -jar exec/Negotiator-1.0.jar 4003
$ java -jar exec/Client-1.0.jar
```
2019/2020