{"id":26702014,"url":"https://github.com/geonetwork/geonetwork-ui","last_synced_at":"2025-04-10T04:55:49.563Z","repository":{"id":37089327,"uuid":"268730367","full_name":"geonetwork/geonetwork-ui","owner":"geonetwork","description":"GeoNetwork UI is a suite of Applications made to provide a modern facade to your GeoNetwork 4 catalog.  It also provides Web Components to embed various parts of your data catalog in third party websites.","archived":false,"fork":false,"pushed_at":"2025-04-03T13:33:17.000Z","size":117416,"stargazers_count":74,"open_issues_count":80,"forks_count":38,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-03T14:23:01.287Z","etag":null,"topics":["angular","data","geonetwork","gis","ui","webcomponents"],"latest_commit_sha":null,"homepage":"https://geonetwork.github.io/geonetwork-ui/main/docs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geonetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support-services/.env","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-02T07:25:02.000Z","updated_at":"2025-04-03T07:40:36.000Z","dependencies_parsed_at":"2024-03-18T09:58:50.304Z","dependency_job_id":"b3584930-236d-4dae-97b8-83aafb5dd888","html_url":"https://github.com/geonetwork/geonetwork-ui","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgeonetwork-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgeonetwork-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgeonetwork-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geonetwork%2Fgeonetwork-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geonetwork","download_url":"https://codeload.github.com/geonetwork/geonetwork-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161257,"owners_count":21057554,"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":["angular","data","geonetwork","gis","ui","webcomponents"],"created_at":"2025-03-27T02:32:14.574Z","updated_at":"2025-04-10T04:55:49.530Z","avatar_url":"https://github.com/geonetwork.png","language":"TypeScript","readme":"![Workflow status](https://github.com/geonetwork/geonetwork-ui/actions/workflows/checks.yml/badge.svg) \u0026nbsp;\u0026nbsp; ![Workflow status](https://github.com/geonetwork/geonetwork-ui/actions/workflows/snyk-security.yml/badge.svg) \u0026nbsp;\u0026nbsp; ![Workflow status](https://github.com/geonetwork/geonetwork-ui/actions/workflows/artifacts.yml/badge.svg) \u0026nbsp;\u0026nbsp; [![Coverage Status](https://coveralls.io/repos/github/geonetwork/geonetwork-ui/badge.svg?branch=main)](https://coveralls.io/github/geonetwork/geonetwork-ui?branch=main)\n\n# GeoNetwork UI\n\nGeoNetwork-UI provides several applications to improve the user experience of your GeoNetwork catalog.\n\nIt also provides Web Components to embed various parts of your data catalog in third party websites.\n\nEnd users are [invited](https://discourse.osgeo.org/t/about-the-geonetwork-ui-category/59280) to join us on the GeoNetwork-UI forum on OsGeo Discourse: https://discourse.osgeo.org/c/geonetwork/ui\n\nDevelopers should check out the [GitHub discussions](https://github.com/geonetwork/geonetwork-ui/discussions).\n\nTo learn more about the project, visit the [GeoNetwork-UI website](https://geonetwork.github.io/geonetwork-ui/main/docs/)\n\n## Getting started\n\nInstall first GeoNetwork 4 [from source](https://geonetwork-opensource.org/manuals/4.0.x/eng/users/install-guide/installing-from-source-code.html#building-running)\nor using [docker](https://github.com/geonetwork/docker-geonetwork/tree/master/4.0.1).\n\nInstall [Node](https://nodejs.org/): using an LTS is recommended, the minimum required version is 14.17.0. Using [nvm](https://github.com/nvm-sh/nvm) makes this much simpler.\n\nRun `npm install` to fetch all dependencies of the project.\n\nRun `npm start` to start the datahub app in a dev server.\n\nOnce started the application is available at `http://localhost:4200/`.\n\n[The contributing guide](CONTRIBUTING.md) explains the structure of the project and how to work with it.\n\nIf you would like to contribute code, please follow our [style guide](STYLEGUIDE.md).\n\n[Storybook](https://storybook.js.org) is a tool for exploring individual features of the application in an interactive way.\nYou can start it with `npm run storybook`.\n\n## Live demo\n\nYou can either try complete applications or showcases of components using the following links:\n\n- [Storybook of UI components](https://geonetwork.github.io/geonetwork-ui/main/storybook/demo/)\n- [Metadata Converter app](https://geonetwork.github.io/geonetwork-ui/main/apps/metadata-converter/)\n- [Web Components demo](https://geonetwork.github.io/geonetwork-ui/main/demo/webcomponents/)\n\n## More information\n\n### Running GeoNetwork UI applications\n\nTo run a specific application using a development server, use:\n\n```shell script\nnpx nx serve (app_name)\n```\n\nAnd navigate to `http://localhost:4200/`.\n\nIf you're using the standard dev configuration then you should head to the [support-services](support-services) folder and\nrun `docker compose up -d` to have the required support services running locally (such as GeoNetwork).\n\nOtherwise, you can adjust the GeoNetwork instance used as a backend in the [proxy-config.js](proxy-config.js) file like so:\n\n```diff\n@@ -1,6 +1,6 @@\n module.exports = {\n   '/geonetwork': {\n-    target: 'http://localhost:8080',\n+    target: 'https://my.catalogue.org',\n     secure: true,\n```\n\n### Build GeoNetwork-UI applications\n\nTo build a specific application, use:\n\n```shell script\nnpx nx build (app_name)\n```\n\nThe build artifacts will be stored in the `dist/` directory. Note: this always produces a production build.\n\n### Tests\n\n#### Unit tests\n\nRun `npm test` to execute the affected unit tests via Jest.\nAffected code is compared to origin/main.\n\nYou can test\n\n- affected code\n- all modules\n- specific lib or app\n- specific test suite\n\n```shell script\nnpm run test\nnpm run test:all\nnpx nx test (lib_name)\nnpx nx test --test-match=/data/dev/gn/ui/libs/common/src/lib/services/bootstrap.service.spec.ts\n```\n\n#### End-to-end-tests\n\n##### To run the tests with the interface:\n\nStart docker from 'support-services', and then in the project root folder :\n\n```shell script\nnpx nx e2e (app_name) --watch\n```\n\nThen select the file(s) you want to test in the interface.\n\n##### To run the tests without interface :\n\nStart docker from 'support-services', and then in the project root folder :\n\n--\u003e ALl tests :\n\n```shell script\nnpx nx e2e  (app_name)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonetwork%2Fgeonetwork-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeonetwork%2Fgeonetwork-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonetwork%2Fgeonetwork-ui/lists"}