Skip to content

NVDB6/WITF-Server

Repository files navigation

WITF-Server

  1. Install all dependencies: npm install
  2. Find the prediction API keys for the classifiers in the Azure Console:
    • Azure Console > Resource Groups > myNVD2022 > NVDfridge-Prediction > Keys and Endpoint > KEY 1
  3. Set the prediction API key as an environment variable:
    1. Mac/Linux:
      • export PRED_KEY=<api_key>
    2. Windows:
      • set PRED_KEY=<api_key>
  4. Download the Firebase secret key file from Slack and move into root directory
  5. Start server with:
    • nodemon server.js if in development
    • node server.js otherwise
  6. Test server endpoint with server_request_test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors