Code Monkey home page Code Monkey logo

daf-dataportal's Introduction

DAF Dataportal for Piattaforma Digitale Nazionale Dati (PDND), previously DAF

DAF PDND LOGO

Build Status

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.

What is the PDND (ex DAF)?

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.

What is DAF Dataportal?

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.

Public site page

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.

Private site page

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.

Project components

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.

Related PDND Services

  • DAF Catalog Manager available here
  • DAF Security Manager available here
  • DAF Dataportal Backend available here

How to install and use DAF Dataportal

Clone the project

git clone https://github.com/italia/daf-dataportal.git

Configure your local environment

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

Install all packages and dependencies

npm install

Run the app

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.

How to build and test DAF Dataportal

Insert here a brief documentation for the developer to build, test and contribute. Insert a link to an extended documentation (developer manual) if present.-->

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.

How to contribute

Contributions are welcome. Feel free to open issues and submit a pull request at any time, but please read our handbook first.

License

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/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.