{"id":41824566,"url":"https://github.com/sasjs/react-seed-app","last_synced_at":"2026-01-25T08:06:54.474Z","repository":{"id":38362862,"uuid":"278013141","full_name":"sasjs/react-seed-app","owner":"sasjs","description":"React seed app for SASjs","archived":false,"fork":false,"pushed_at":"2025-08-08T11:21:17.000Z","size":6278,"stargazers_count":16,"open_issues_count":14,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T12:19:24.824Z","etag":null,"topics":["react","sas","sasjs","sasjs-app","sasjs-seed-app","viya"],"latest_commit_sha":null,"homepage":"","language":"SAS","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/sasjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-08T06:53:06.000Z","updated_at":"2025-08-08T11:21:19.000Z","dependencies_parsed_at":"2024-08-12T17:22:05.058Z","dependency_job_id":"8288b0b0-2520-44b1-a894-ac2ee6af9f7a","html_url":"https://github.com/sasjs/react-seed-app","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/sasjs/react-seed-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasjs%2Freact-seed-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasjs%2Freact-seed-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasjs%2Freact-seed-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasjs%2Freact-seed-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sasjs","download_url":"https://codeload.github.com/sasjs/react-seed-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasjs%2Freact-seed-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28748573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T07:58:02.558Z","status":"ssl_error","status_checked_at":"2026-01-25T07:57:57.153Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["react","sas","sasjs","sasjs-app","sasjs-seed-app","viya"],"created_at":"2026-01-25T08:06:54.341Z","updated_at":"2026-01-25T08:06:54.463Z","avatar_url":"https://github.com/sasjs.png","language":"SAS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nThis React seed app provides a wrapper for `@sasjs/adapter`, a lightning fast adapter for talking to SAS - on Viya, EBI, or SASjs Server.\n\n## Frontend Web\n\nThese are the minimal steps to get up and running:\n\n1. clone the repo and change into the directory\n2. Open `index.html` and set the `serverType` to SASVIYA, SAS9, or SASJS depending on backend server\n3. Also change `appLoc` to the backend root location in which you plan to deploy the services.\n4. run `npm install`\n5. run `npm run build` to create a production build in the `build` folder. This can be deployed to the SAS web server [here](https://sasjs.io/frontend-deployment/).\n\nIf you are running locally you will also need to whitelist `localhost` on the server, or enable CORS in your browser as described [here](https://sasjs.io/cors)\n\n## Backend Services\n\nThe best way to deploy SAS services is using the [SASjs CLI](https://cli.sasjs.io). Simply [install](https://cli.sasjs.io/installation/), update the `defaultTarget` attribute in the [sasjsconfig.json](https://github.com/sasjs/react-seed-app/blob/main/sasjs/sasjsconfig.json) file, and run the following commands:\n\n```bash\nsasjs auth # be sure to use the same serverType and appLoc as steps 2 \u0026 3 above\nsasjs cbd\n```\n\nThis will first authenticate to your target (follow the prompts) and after that you can just run `sasjs cbd` to rebuild and deploy your services. If you set `streamweb:true` in the sasjsconfig.json it will also deploy your frontend as a streaming app (no need for a web server).\n\nIf you are just looking to build quickly and don't have time to install NPM then you can also create the web services on SAS9 or SASVIYA by running the code below.\n\n```sas\n%let appLoc=/Public/app/react-seed-app; /* SAS Folders App Location */\nfilename mc url \"https://raw.githubusercontent.com/sasjs/core/main/all.sas\";\n%inc mc;\nfilename ft15f001 temp;\nparmcards4;\n    proc sql;\n    create table areas as select distinct area from sashelp.springs;\n    %webout(OPEN)\n    %webout(OBJ,areas)\n    %webout(CLOSE)\n;;;;\n%mx_createwebservice(path=\u0026appLoc/services/common, name=appinit)\nparmcards4;\n    %webout(FETCH)\n    proc sql;\n    create table springs as select * from sashelp.springs\n      where area in (select area from areas);\n    %webout(OPEN)\n    %webout(OBJ,springs)\n    %webout(CLOSE)\n;;;;\n%mx_createwebservice(path=\u0026appLoc/services/common, name=getdata)\n```\n\n## Supported Versions of SAS\n\nThis app will work on all versions of SAS Viya, in SAS 9 EBI from 9.3 and above, and on regular Foundation SAS (or WPS) installs using SASjs Server.\n\nIt will not work on SAS University edition.\n\n## Backend Services in JavaScript\n\nIf you are writing services in JS and your service depends on any third party library/package then you need to bundle that service before deploying it to sasjs server otherwise the service wouldn't work. You can choose any bundler for this process. One possible option could be `webpack`. And if you choose webpack then you can use it like:\u003cbr/\u003e\n`npx webpack --mode none --target node --entry \u003cpath-of-file-to-bundle/build\u003e --output-path \u003cpath-of-output-folder\u003e --output-filename \u003cname-of-output-file\u003e`\n\u003cbr/\u003e\n\nIn our case we have a mock service at path `sasjs/mocks/appinit.js` and we want to build and make it ready for deployment. So, we have to run following in terminal:\u003cbr/\u003e\n`npx webpack --mode none --target node --entry ./sasjs/mocks/appinit.js --output-path sasjsbuild/mocks --output-filename appinit.js`\n\n### Code Style\n\nThis project uses Prettier to format code.\nPlease install the 'Prettier - Code formatter' extension for VS Code.\n\nFiles you are editing will automatically be formatted on save.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/allanbowe\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4420615?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAllan Bowe\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=allanbowe\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=allanbowe\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3Aallanbowe\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#video-allanbowe\" title=\"Videos\"\u003e📹\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=allanbowe\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.erudicat.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/25773492?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYury Shkoda\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=YuryShkoda\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=YuryShkoda\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"#projectManagement-YuryShkoda\" title=\"Project Management\"\u003e📆\u003c/a\u003e \u003ca href=\"#video-YuryShkoda\" title=\"Videos\"\u003e📹\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=YuryShkoda\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://krishna-acondy.io/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/2980428?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKrishna Acondy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=krishna-acondy\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=krishna-acondy\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3Akrishna-acondy\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#infra-krishna-acondy\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"#platform-krishna-acondy\" title=\"Packaging/porting to new platform\"\u003e📦\u003c/a\u003e \u003ca href=\"#maintenance-krishna-acondy\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"#content-krishna-acondy\" title=\"Content\"\u003e🖋\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/saadjutt01\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/8914650?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMuhammad Saad \u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=saadjutt01\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=saadjutt01\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3Asaadjutt01\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#mentoring-saadjutt01\" title=\"Mentoring\"\u003e🧑‍🏫\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=saadjutt01\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/sabhas\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/82647447?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSabir Hassan\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=sabhas\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=sabhas\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3Asabhas\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#ideas-sabhas\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/medjedovicm\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/18329105?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMihajlo Medjedovic\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=medjedovicm\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=medjedovicm\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3Amedjedovicm\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#infra-medjedovicm\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/VladislavParhomchik\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/83717836?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVladislav Parhomchik\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sasjs/react-seed-app/commits?author=VladislavParhomchik\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sasjs/react-seed-app/pulls?q=is%3Apr+reviewed-by%3AVladislavParhomchik\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasjs%2Freact-seed-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsasjs%2Freact-seed-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasjs%2Freact-seed-app/lists"}