Skip to content

bcgov/nr-dap-ui

Repository files navigation

DAPUI

Welcome to the DAPUI repository! This project is a part of the Data Foundation team to provide a user-friendly interface for managing data extraction low code/no code tool within the public sector.

Overview

DAPUI is designed to streamline the management of data access requests and extraction. This tool facilitates the process of requesting, approving, and auditing access to various data sets, enhancing transparency and security within the organization.

Features

  • User Management: Admins can manage user roles and permissions, ensuring that only authorized personnel have access to sensitive data.
  • Access Requests: Users can submit requests for data access, which can be reviewed and approved by designated approvers.
  • Audit Trails: All access requests and approvals are logged, providing a comprehensive audit trail for compliance and monitoring purposes.
  • Integration: DAPUI integrates with existing systems to streamline data access workflows and reduce administrative overhead.
  • Responsive Design: The interface is designed to be accessible on various devices, providing a consistent experience across desktops, tablets, and smartphones.

Getting Started

To get started with DAPUI, follow the instructions below to set up your development environment and run the application locally. Create a file name .env for environment variables.

  1. Create .env file and edit it:
     KEYCLOAK_SECRET=CHANG TO YOUR SECRET
     CONFIG_BROKER_JWT=CHANG TO YOUR KEYCLOAK_SECRET
     CONFIG_VAULT_ENV=dev
     KEYCLOAK_URL=https://dev/test/prod.loginproxy.gov.bc.ca/auth
     AIRFLOW_USERNAME=CHANG TO YOURS
     AIRFLOW_PASSWORD=CHANG TO YOURS	
     DATABASE_ODS_IN_VAULT=dapui-proxy-ods-dev
     TENANT_ID=CHANG TO YOUR POWER BI API TENANT ID
     CLIENT_ID=CHANG TO YOUR POWER BI API CLIENT ID
     CLIENT_SECRET=CHANG TO YOUR POWER BI API CLIENT SECRET
     SESSION_SEC=CHANG TO YOUR ANY SESSION SECRET
     REDIRECT_URI=CHANG TO CORRECT URL
    
    
    
    

Installation

  1. Run the code:
    git clone https://github.com/bcgov/DAPUI.git
    npm install
    node app.js
    
  2. Deploy to openshift:
    oc new-app --docker-image=ghcr.io/zhongjixiehou/nr-dap-ui:latest --name=nr-dap-ui

update

oc rollout restart deployment/nr-dap-ui
### Contact

If you have any questions or need further assistance, please feel free to reach out via email: NRM.DataFoundations at gov.bc.ca.

### Flow Chart

![Flowchart](public/images/flowChart.jpg)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published