Upgrade to IRIS Community 2019.4
This App demo the InterSystems IRIS REST API discovery and API generation (InterSystems IRIS version 2019.1).
There is a nice article explaining the background at InterSystems Developer Community:
https://community.intersystems.com/post/iris-api-explorer-application
In order to run this app easier I prepared a Docker container for a quick start
This IRIS API Explorer docker file is using iris-community:2019.4.0.383.0 from docker store
The project come ready to run on Docker. From the project directory you have only to execute:
docker-compose build
docker-compose up -d
This command starts two docker compose services:
When you have everything up you need to start session in IRIS http://localhost:55773/csp/sys/%25CSP.Portal.Home.zen using superuser/SYS and change the login password to a new one. Once you change the password you can access to the Angular app http://localhost:8000/home and start exploring IRIS APIs using the IRIS instance up in localhost:55773 and the user and password you used before to access to the IRIS instance ‘superuser’.
When you finish your demo then execute:
docker-compose down
and everything stop smooth
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
The application support i18n translations in order to run with another language run:
ng serve --aot --i18nFile=src/locale/messages.es.xlf --i18nFormat=xlf --locale=es
More help about how to configure i18n here [https://v5.angular.io/guide/i18n]
This project was generated with Angular CLI version 7.1.3
Using Angular 5.2.2
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Email me :-) or add a Github issue