teamdigitale / dati-semantic-frontend

Frontend for the NDC semantic repository
GNU Affero General Public License v3.0
5 stars 10 forks source link

License GitHub issues Join the #api-interoperabilità channel Get invited Dati on forum.italia.it

Frontend for the National Data Catalog (NDC) for Semantic Interoperability

This is the frontend for the National Data Catalog (NDC) for Semantic Interoperability, a component of the PDND (Piattaforma Digitale Nazionale Dati) project.

PDND is composed of:

The frontend is composed of a website which enables anyone to browse and search the semantic material stored in the National Data Catalog backend.

Index

How to start

This application is built using React with APIs served from dati-semantic-backend.

To just fix the UI of the application use yarn start and run the application to see your changes.

If you also need to fix UI on searching and details page either bring the backend service up or start the mock server using scripts/start-mock-server.sh

Install

Steps for fresh install of app

yarn install

To install the needed plugins for the React app

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

yarn build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

yarn lint

To check for lint and checkstyle issues

yarn prepare

To install the husky pre commit hooks

For every commit, build will be triggered using Github Actions. See file node.js.yml for details.

On successful build - tests, lint etc passing - image will be published to GHCR - Github Container Registry and automatically deployed to the dev env.

Dev env can be viewed here.

Documentation

Documentation can be found here Wiki

How to contribute

Community

Code of conduct

Responsible Disclosure

Segnalazione bug e richieste di aiuto

Maintenance

License

This work is licensed under the GNU Affero General Public License (AGPL), version 3 or later. You can find a copy of the license in the LICENSE file