Skip to content

Repository files navigation

Medium article about # dataStack

run front end:

cd public\datastack
npm install --force
npm run start or ng serve

go to localhost:4200

for changing UI change app description in app.ts file (public\datastack\src\app\services\app.ts

run backend

cd datastack_v1
python install -r requirements.txt
python api.py

example:

text input

 {
"name": "name",
"label": "Name:",
"value": "",
"type": "text",
"validators": {
"required": true,
}
},

forms

 form:{
id:'form',
type:'form',
parameters:{controls : [
{
"name": "firstName",
"label": "First name:",
"value": "",
"type": "text",
"validators": {
"required": true,
}
},
{
"name": "firstName last",
"label": "First name last:",
"value": "",
"type": "text_area",
"validators": {}
}
]},
events:{
'submit':{type:'http', params:{url:'https://my_api_url.com'}}
}
},

TODO

  • Create dynamic ui from json description file
  • add actions and events from UI
  • python custom functions
  • modify json description form browser

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages