The DAF Dataportal is the front-end project of the PDND portal available at this link.
All the documentation and the user manual can be reached at this page of Docs Italia portal.
PDND stays for "Piattaforma Digitale Nazionale Dati" (the Italian Digital Data Platform), previously known as Data & Analytics Framework (DAF).
You can find more informations about the PDND on the official Digital Transformation Team website.
The project of the DAF Dataportal is the UI interface of the PDND, the Italian Digital Data Platform.
The project combines both the public site and the private dashboard. Within the public site it is possible to access and navigate the OpenData and public contents created and published through the PDND.
The private section is aimed to contribute, creating new datasets (if the user is linked to any of the Public Organizations partecipating the platform) or writing down new datastories.
DAF Dataportal is the entry point of the Piattaforma Digitale Nazionale Dati, the way to consult datasets information and the use cases for datasets and the place to create new content: Datastory and Datasets.
The master branch refers to the code available for the production release (reachable here). All the development starts from dev branch working on feature branches and merged first on dev and after testing and reviewing can be merged on master.
This project depends by the following components.
-
React version 16.8.6, available here.
-
Redux version 4.0.1, available here.
-
Webpack version 4.29.6, available here.
- DAF Catalog Manager available here
- DAF Security Manager available here
- DAF Dataportal Backend available here
git clone https://github.com/italia/daf-dataportal.git
To make the magic happen are required:
- Node.JS
- NPM
You can install them following this guide
Add to your host file the following urls
localhost.dataportal.daf.teamdigitale.it
localhost.dataportal.daf.teamdigitale.test
npm install
npm start
If you are on the master
branch point your browser on localhost.dataportal.daf.teamdigitale.it
, in the other hand localhost.dataportal.daf.teamdigitale.test
will work for you.
There's two ways to build up the project the first (and simple one) running the following command via terminal
npm run build
The second (and more geeky) is based on Docker (You can find all the following informations here)
sudo docker build --no-cache -t <YOUR_DOCKER_IMAGE_NAME> .
NOTE: In order to work properly it's necessary a running instance of the related PDND services (see the related paragraph).
The endpoint for all the services and API can be found at src/config/serviceurl.js
and can be edited to target
the correct endpoint of the services above, otherwise the application will target to the default production endpoints.
Contributions are welcome. Feel free to open issues and submit a pull request at any time, but please read our handbook first.
Copyright (c) 2019 Presidenza del Consiglio dei Ministri
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.