Giter VIP home page Giter VIP logo

accuknox-task's Introduction

AccuKnox Task

Important Note

Kindly find the video demo link attached in this file, and check package.json for the necessary requirements

Click me for Video demo

Incase If git clone doesn't works

click me to download the zip file of the project

And continue from step 2

Installation

  1. Clone the repository:

    git clone https://github.com/Skmnk/AccuKnox-task.git
  2. Navigate to the project directory:

    cd accu-knox
  3. Install the dependencies:

    npm install
  4. Start the development server:

    npm start

    This will start the app on http://localhost:3000.

  5. Find backend server: After running the react app find the server.js file inside the src folder to run the backend server for adding and removing widget.

  6. Running backend server: Open a new terminal and move into src file to run server.

cd src

node server.js

this will run backend for adding and removing widgets.

  1. check dependencies: Kindly check the package.json for required dependencies.

JSON File Example

Here's an example structure of the data.json file:

{
  "categories": [
    {
      "name": "CSPM Executive Dashboard",
      "widgets": [
        {
          "id": 1,
          "name": "Cloud Accounts",
          "message": "1st widget of CSPM"
        },
        {
          "id": 2,
          "name": "Cloud Account Risk Assessment",
          "message": "2nd widget of CSPM"
        }
      ]
    },
    {
      "name": "CWPP Dashboard",
      "widgets": [
        {
          "id": 1,
          "name": "Top 5 Namespace Specific Alerts",
          "message": "1st widget of CWPP"
        },
        {
          "id": 2,
          "name": "Workload Alerts",
          "message": "2nd widget of CWPP"
        }
      ]
    },
    {
      "name": "Registry Scan",
      "widgets": [
        {
          "id": 1,
          "name": "Image Risk Assessment",
          "message": "1st widget of Registry Scan"
        },
        {
          "id": 2,
          "name": "Image Security Issue",
          "message": "2nd widget of Registry Scan"
        }
      ]
    }
  ]
}

This json file will be automatically updated while user add and remove the widgets.

accuknox-task's People

Contributors

skmnk avatar

Watchers

 avatar

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.