{"id":29791222,"url":"https://github.com/dashjoin/dashjoin-demo","last_synced_at":"2025-07-28T00:15:46.131Z","repository":{"id":49395215,"uuid":"441160557","full_name":"dashjoin/dashjoin-demo","owner":"dashjoin","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-28T17:11:39.000Z","size":11647,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T17:38:09.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/dashjoin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-23T11:35:26.000Z","updated_at":"2025-04-28T17:11:43.000Z","dependencies_parsed_at":"2023-02-08T13:01:28.469Z","dependency_job_id":"2c5e9301-e99e-4823-a43d-057f64921096","html_url":"https://github.com/dashjoin/dashjoin-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dashjoin/dashjoin-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashjoin%2Fdashjoin-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashjoin%2Fdashjoin-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashjoin%2Fdashjoin-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashjoin%2Fdashjoin-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashjoin","download_url":"https://codeload.github.com/dashjoin/dashjoin-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashjoin%2Fdashjoin-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267443166,"owners_count":24087951,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-07-28T00:15:25.692Z","updated_at":"2025-07-28T00:15:46.068Z","avatar_url":"https://github.com/dashjoin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dashjoin Demo Application\n\nThis application showcases various features of the Dashjoin Platform.\nThe demo includes the northwind sample database. The import scripts are already\nincluded in the binaries and can be loaded into the database using the \nthe initScripts configuration field (see the definition in model/dj-database).\n\nTo install it, you can use the upload feature on the configuration \ndatabase (/resource/config/dj-database/dj%2Fconfig) or copy the files into\nyour model folder manually.\nYou can also have the platform install the app right from GitHub\nupon startup. The easiest way to do so is by using docker:\n\n\n```\ndocker run -p 8080:8080 -e DJ_ADMIN_PASS=djdjdj -e DASHJOIN_HOME=dashjoin-demo -e DASHJOIN_APPURL=https://github.com/dashjoin/dashjoin-demo dashjoin/platform\n```\n\nThe container is started with three environment variables:  \n\n* DJ_ADMIN_PASS: sets the default admin password to \"djdjdj\"\n* DASHJOIN_HOME: moves the location of the model folder to ./dashjoin-demo\n* DASHJOIN_APPURL: clones this repository upon startup\n\nIf you are using the executable platform version, the DASHJOIN_HOME directory is fixed to userhome/.dashjoin.\nYou can check out the repository manually into this folder, set the environment and then run the platform. Consider the following example for Windows:\n\n```\ngit clone https://github.com/dashjoin/dashjoin-demo .dashjoin\nset DASHJOIN_APPURL=https://github.com/dashjoin/dashjoin-demo\nset DJ_ADMIN_PASS=djdjdj\nDashjoin.exe\n```\n\n## Unit Testing the App\n\nThis demo comes with a JUnit test that performs the following checks:\n\n* makes sure all JSON files can be parsed\n* makes sure layout use legal widget names\n* makes sure JSONata expressions are syntactically correct\n\nIn addition to these syntactical checks, it is possible to test JSONata expressions using this test:\n\n```\n  @Test\n  public void testLogic() throws Exception {\n    testDriver(\"test.json\");\n  }\n```\n\nThe file [test.json](test.json) is structured as follows:\n\n```\n{\n    \"test\": {\n        \"file\": path to the file containing the expression to be checked\n        \"expression\": JSONata expression that selects the expression to be checked\n    },\n    \"basedata\": optional common test data for the test cases\n    \"cases\": {\n        \"name\": {\n            \"data\": test data (will be merged with the base data)\n            \"expected\": expected JSONata output\n        }\n        ...\n    }\n}\n```\n\nTo run the unit test:\n\n```\ndashjoin-demo\u003emvn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashjoin%2Fdashjoin-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashjoin%2Fdashjoin-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashjoin%2Fdashjoin-demo/lists"}