Event driven tables rendering data from REST APIs.
Requirements
- Install php-apc package. For ubuntu:
sudo apt-get install php-apc
Deployment
- Add the project to your apache
wwwdirectory. - Run
http://localhost/flextablesfrom your browser
The tool uses config.json file which resides in the root of the application to render tables.
Following is an example:
{
"apiKey" : "",
"title": "TCIA",
"description": "Lorem ipsum dolor....",
"path":[
{
"name": "Collections",
"dataUrl": "http://localhost:3001/collections"
},
{
"name": "Patients",
"dataUrl": "http://localhost:3001/patients",
"params": ["Collection"]
},
{
"name": "PatientStudy",
"dataUrl": "http://localhost:3001/patientStudy",
"params": ["PatientID", "Collection"]
},
{
"name": "Link",
"type": "link",
"params": [{
"name": "xyz",
"value": "StudyInstanceUID"
}],
"url": "http://example.com"
}
]
}
\apiKeystring API Key used for connecting to the REST API.\titlestring Rendered on the top-right corner of the app-bar.\descriptionstring Brief description of the app.\patharray an ordered array of nodes that describe the path.\path\n\namestring Name of the node(Rendered on the app).\path\n\typestring optional Used to specify links.\path\n\dataUrlstring Endpoint of the REST API.(Donot include trailing slash)\path\n\paramsarray Specify parameters used with the dataUrl