{"id":22750258,"url":"https://github.com/webix-hub/reports-go","last_synced_at":"2025-04-14T12:55:07.750Z","repository":{"id":37852435,"uuid":"318118458","full_name":"webix-hub/reports-go","owner":"webix-hub","description":"Go backend for Webix Reports","archived":false,"fork":false,"pushed_at":"2024-08-28T15:51:49.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T02:05:22.339Z","etag":null,"topics":["webix","webix-backend","webix-reports"],"latest_commit_sha":null,"homepage":"https://webix.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webix-hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-03T08:00:48.000Z","updated_at":"2024-08-28T15:51:52.000Z","dependencies_parsed_at":"2022-06-22T21:53:41.483Z","dependency_job_id":null,"html_url":"https://github.com/webix-hub/reports-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Freports-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Freports-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Freports-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Freports-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webix-hub","download_url":"https://codeload.github.com/webix-hub/reports-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248885677,"owners_count":21177636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webix","webix-backend","webix-reports"],"created_at":"2024-12-11T04:13:20.257Z","updated_at":"2025-04-14T12:55:07.715Z","avatar_url":"https://github.com/webix-hub.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Webix Reports backend\n=====================\n\n### How to start\n\n- configure DB connection strings in ```config.yml```\nThere are two databases there, ```appdb``` where report's configuration will be stored\nand ```datadb``` where data to analise is stored.\nIt can be the same database.   \n\n- build the backend\n```shell script\ngo build\n```\n\n- start the service\n```shell script\n# generate test data, optional\n./metadb --demodata\n# run the service\n./metadb --scheme ./demodata/meta.yml\n```\n\n- update client side sample to use your backend (change the `url` property to  ```http://localhost:8014/```)\n\n### Schema configuration\n\nSchema for the demodata is stored in [demodata/meta.yml](demodata/meta.yml).\n\nThis file describes available objects, their fields and relations.\nContent of the file is a serialization of DBInfo structure from the [main.go](main.go) file. \n\n#### Field type\n\nSupported fields types are\n\n- number\n- date\n- string\n- picklist (list of hardcoded options)\n- reference (key to a different model)\n\n#### Field configuration keys\n\n- name - name shown in report builder\n- filter - true/false, allow/deny filtering by the field\n- key - true/false, primary key (used for references)\n- label -  true/false, mark field as object label (will be shown in place of reference)\n- ref - id of referenced model/picklist (if any)\n\n### Other CLI command\n\n```shell script\n# show cli help\n./metadb --help\n# generate meta.yml from DB\n./metadb --save ./meta.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Freports-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebix-hub%2Freports-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Freports-go/lists"}