About The Project

...

(back to top)

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

  • Node >= 10
  • Redis
  • Mongodb

Installation

If you wish to run the tutorial, you can use the following commands

  1. Clone the repo
    git clone https://github.com/your_username_/Project-Name.git
  2. Install NPM packages
    npm install
  3. Copy .env-sample to .env and Edit your variables by your setting
    MONGODB_URL='ENTER MONGODB URL';
    REDIS_HOST='ENTER REDIS HOST';
    REDIS_PORT='ENTER REDIS PORT';
    ...

(back to top)

Usage

Available methods:

Function and Constanst

Retrieves the Function/Constanst of an application.

Command:

npm run getAppInfo

Privacy policy analysis

Retrieves the privacy policy of an application.

Command:

npm run privacyPolicyAnalysis

Calculate distance

Calculate the distance of an application.

Command:

npm run computingDistance

Calculate distance v2

Calculate the distance of an application.

Command:

npm run computingDistanceV2