{"id":29200987,"url":"https://github.com/datopian/gsa-inventory-app","last_synced_at":"2026-06-22T12:32:24.989Z","repository":{"id":43157041,"uuid":"272631873","full_name":"datopian/gsa-inventory-app","owner":"datopian","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-13T02:13:41.000Z","size":9126,"stargazers_count":2,"open_issues_count":25,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-02T11:13:27.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/datopian.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-06-16T06:51:24.000Z","updated_at":"2020-09-11T05:40:23.000Z","dependencies_parsed_at":"2023-01-28T05:01:25.802Z","dependency_job_id":null,"html_url":"https://github.com/datopian/gsa-inventory-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datopian/gsa-inventory-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fgsa-inventory-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fgsa-inventory-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fgsa-inventory-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fgsa-inventory-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datopian","download_url":"https://codeload.github.com/datopian/gsa-inventory-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fgsa-inventory-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34649817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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-02T11:06:44.398Z","updated_at":"2026-06-22T12:32:24.984Z","avatar_url":"https://github.com/datopian.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSA inventory app spike\n\nThis is just copied from the readme of the previous work... So take with a big pinch of salt \n\n## Quick Start\nTo sample the application run:\n`yarn \u0026\u0026 yarn start`\n\nYou should see:\n![](https://imgur.com/a/Nbaeb3t)\n\n## Bundling the app\nTo output as a single file (best for compatibility with fanstatic and CKAN) run:\n\n`yarn build:bundle`\n\nThis will create a loadable script at `/dist/build/static/js/bundle.min.js`\n\nTo use the standard react-scripts/create-react-app build script run:\n`yarn build`\n\nThis will create a manifest and a multi-file build as per normal for create-react-app\n\n## Embedding the app\nFor an example of how to embed the app see `pubic/index.html`\n\nAdd a div element as follows... note that data-config values can be changed as per (config)[#config]\n```html\n\u003cdiv id=\"dep-of-ed-admin-ui\" data-config='{\"apiUrl\": \"http://localhost:5000/api/3/acti    on/\", \"debug\": true, \"collectionId\": \"ppp\", \"isMaster\": true}'\u003e\u003c/div\u003e\n```\n\nThis should work :)\n\n## config\n*isMaster*: _bool_ - whether or not this is a master collection\n*apiUrl*: _url_ - fully qualified URL pointing to ckan API -- _include trailing slash_\n*addDocsUrl*: _url_ - base path to admin form to add resources to summary dataset; note the colleciton id will be appended to this\n*debug*: _bool_ - Enable debug mode\n\n## Empty create form\n* Instantiate (as above)[#Embedding the app] without passing `collectionId`\n* Make sure to include `isMaster` value to instantiate the master collections form\n\n## Cosmos\nFor development you can use [cosmos](https://github.com/react-cosmos/react-cosmos)\n\nCosmos fixtures are located in the `__fixtures__` directory\n\nTo preview component with cosmos:\n`yarn \u0026\u0026 yarn cosmos` \n\nYou should see:\n![](screenshot.png \"Cosmos\")\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Tests\n\n`yarn test`\n\nTODO - better test coverage :)\n\n## Extras\n\nMany fields are stored in CKAN's \"Extras\".\n\nThis requires the App's API layer (`src/Api.js`) to map form fields to the extras fields format.\n\n**If you add another Extras field you need to add it to the `EXTRAS` array at the top of Api.js`\n\n## Stay tuned:\n\n* Internal routing\n* Multiple collections/groups\n* Other CKAN administrative tasks\n* A more complete es6 CKAN API interface\n\n----\n# Create React App Docs\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting\n\n### Analyzing the Bundle Size\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size\n\n### Making a Progressive Web App\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app\n\n### Advanced Configuration\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration\n\n### Deployment\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/deployment\n\n### `npm run build` fails to minify\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fgsa-inventory-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatopian%2Fgsa-inventory-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fgsa-inventory-app/lists"}