Inquisidor is an fully functional example of InterSystems IRIS functionalities working together with Angular project as front-end. In this project you will find examples of:
- Vector storage and Vector search.
- Foreign tables based on CSV files.
- Embedded Python for XML mapping.
- Columnar storage.
- Git
- Docker (if you are using Windows, make sure you set your Docker installation to use "Linux containers").
- Docker Compose
- Visual Studio Code + InterSystems ObjectScript VSCode Extension
Build the image we will use during the workshop:
$ git clone https://github.com/intersystems-ib/inquisidor
$ cd workshop-inquisidor
$ docker-compose build
This project is designed as a common web application with a backend developed on InterSystems IRIS Community edition and a frontend developed on Angular.
As we said before, our backend is developed on InterSystems IRIS with IntegratedML technologies. The backend is responsible for:
- Get historic results of Spanish League from an external web using webscrapping with Embedded Python capabilities.
- Prepare the data get from the external web to be used by the prediction model.
- Create model and train with the prepared data using the IntegratedML capabilities.
- Receive and manage REST calls from the front-end.
- Generate predictions for the matches.
- Provide a JWT in order to securize the communication between frontend and backend.
Developed on Angular provides an easy to use user interface sending REST calls to the backend and receiving and managing the responses.
- Run the containers to deploy the backend and the frontend:
docker-compose up -d
Automatically an IRIS instance will be deployed and a production will be configured and run available to import data to create the prediction model and train it.
- Open the Management Portal.
- Login using the default
superuser
/SYS
account. - Click on Production to access the production that we are going to use. You can access also through Interoperability > User > Configure > Production.
Now you can check the frontend:
-
Open the main page from this URL.
-
Login using
superuser
/SYS
account. -
Click on the icon on the upper left of the screen and check the options of the menu.
-
Click on Data management and follow the arrows: Launch import -> Launch preparation -> Launch training. Wait for the end of each step.
-
Now open the Menu again and click on Result prediction.
-
You can keep the data updated adding the real result clicking on the match and introducing the result: