Resource allocation system is a web application for smart resource allocation. It's a holonic multiagent system based on knowledge graph with REST API.
It is available both as a standalone server, or an embeddable component.
The system is built using PostgreSQL version 14 and a recent version of supported Neo4j (4.4 is recommended). Node and Express are also required.
The web application is available for production as a Docker container. Please, read /Docker folder's README file for further instructions.
Following instructions helps to set up a development environment:
- Install Postgresql version 14 and create a new database and credentials.
- Install latest Node version.
- Install Neo4j version 4.4 and create an username and password.
- Clone the repository and install dependencies of src/server/backend, src/server/hmas-container and src/client/ folders with
sudo npm install command. - Open src/server/backend/.env file and set NODE_ENV variable's value to development. Then add your database's connection parameters to DB_ variables.
- Open src/server/hmas-container/.env file and configure both GRAPH_ and REST_API_ variables.
- Run all three components with npm run start command.
Ignore auto-generated passwords and IDE settings. Ignore inconsistent client-REST API request/response handling structure as the system was originally designed to be integrated into another system.