Home Applications React-UI-Global

React-UI-Global

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
4
1 reviews
0
Awards
270
Views
0
IPM installs
0
0
Details
Releases (2)
Reviews (1)
Issues
This app has a demo View
Application with toolkit for globals

What's new in this version

  • Implementation Data-model document store

React-UI-Global

This application provides a convenient web interface and REST API application for interacting with globals.

Installation

Docker

The repo is dockerised so you can clone/git pull the repo into any local directory

$ git clone https://github.com/NjekTt/React-UI-Global

Open the terminal in this directory and run:

$ docker-compose up -d

Then open http://localhost:4000/

Online demo http://mareiznode.teccod.com:4001/

Web interface

The web interface allows you to view and create globals. In the web interface, you can generate globals with a given number of lines with random values.

REST API

Routing is used by Flask Framework to process incoming requests. When a request is received using Python Embedded, methods of the ObjectScript class are called and processed

  • [GET] /api/getGlobalData - Returns the elements of the given global. Parameters: name - global name, size - number of global elements (to implement loading and optimization), namespace - namspace where the global is located
  • [POST] /api/generateGlobal - Generates a global with random data. Parameters: globalname - the name of the created global, rowcount - the number of generated elements, namespace - where the global will be created
  • [GET] /api/getRowCountGlobal - Returns the number of global rows. Parameters: name - global name
  • [GET] /api/getAllGlobalList - Returns lists of all globals. Parameters: namespace - namespace where globals are located

Example

image

Form for creating a global

image

Update

Based on globals, the Data-model document store was implemented. This data model stores JSON-like documents

http://localhost:4000/docdb

outputvideo-cutter-jscom-1-min

image

image

Made with
Version
1.0.108 Apr, 2022
Category
Technology Example
Works with
InterSystems IRIS
First published
03 Apr, 2022
Last edited
08 Apr, 2022
Last checked by moderator
27 Jun, 2023Works