{"id":23331173,"url":"https://github.com/sassoftware/restaf-uidemos","last_synced_at":"2025-04-09T16:13:16.754Z","repository":{"id":30005972,"uuid":"123501804","full_name":"sassoftware/restaf-uidemos","owner":"sassoftware","description":"Examples of SAS Viya Applications built with restaf","archived":false,"fork":false,"pushed_at":"2025-02-01T14:49:04.000Z","size":63466,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-09T16:13:11.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-03-01T22:54:11.000Z","updated_at":"2023-01-31T16:57:33.000Z","dependencies_parsed_at":"2024-04-24T18:56:18.698Z","dependency_job_id":null,"html_url":"https://github.com/sassoftware/restaf-uidemos","commit_stats":{"total_commits":49,"total_committers":3,"mean_commits":"16.333333333333332","dds":"0.18367346938775508","last_synced_commit":"ddac95e5506e9031c7c83b362af4359bb737df41"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Frestaf-uidemos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Frestaf-uidemos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Frestaf-uidemos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Frestaf-uidemos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassoftware","download_url":"https://codeload.github.com/sassoftware/restaf-uidemos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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":[],"created_at":"2024-12-20T22:31:50.215Z","updated_at":"2025-04-09T16:13:16.736Z","avatar_url":"https://github.com/sassoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# restaf-uidemo\n\nA collection of examples demonstrating then use of restaf in web applications.\nThe demos cover typical SAS software usages - running datastep, running cas actions,\naccessing VA reports etc...\n\nPlease review the source code to see how restaf is used to achieve\nthe desired goal with minimal coding.\n\n## Pre-requisites\n\nCreate an authorization_code flow clientid and clientsecret(ex: sample value shown below)\n\n- clientid     = rafdrk\n- clientsecret = secret\n- redirectUri  = \u003chttp://localhost:8080/viyaapp\u003e\n\n## Install\n\n```script\ngit clone https://github.com/sassoftware/restaf-uidemos\ncd restaf-uidemos\nnpm install\n```\n\n## Setup application\n\nEdit override.env and set the values to your situation. The key values to be set are shown below with sample values\n\n```env\nVIYA_SERVER=http://xxxx\nAPPNAME=viyaapp\nAUTHFLOW=code\nCLIENTID=rafdrk\nCLIENTSECRET=secret\nAPPENTRY=index.html\n```\n\nThen run the following command:\n\n```script\nnpm start\n```\n\nVisit this site on your browser:  \u003chttp://localhost:8080/viyaapp\u003e\n\nYou will be prompted for your userid and password. If logon is successful you will be presented a web page with choices for running different applications.\n\nYou can add your own apps to this list ( see index.html )\n\n## Docker container\n\nUse the scripts dkrbuild and dkrrun in package.json to setup and run the app in docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Frestaf-uidemos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassoftware%2Frestaf-uidemos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Frestaf-uidemos/lists"}