Skip to content

Backend for Team Project classes at 6th semester at Cybersecurity faculty at WUST

License

Notifications You must be signed in to change notification settings

TheArqsz/AntiPhishMe-backend

Repository files navigation

AntiPhishMe Logo

Phishing add-on backend

Build Status codecov Python License

Prerequisites

  • python > 3.6
  • pip

Installation

pip install -r requirements.txt

Run

python antiphishme/src/app.py

UI

At default, swaggerUI can be found at localhost:5000/api/v1/ui

Environmental variables

variable's name definition example default value
ENV Define environment for project DEV, DOCKER_DEV, PROD DEV
DEBUG If set, logging level is set to DEBUG and flask's debugger is on True, False False
PORT Port on which app will listen 5000 5000
HOST IP in which app will listen 127.0.0.1, 0.0.0.0 127.0.0.1
DOMAIN Domain's name for swagger. API requests use this as target localhost:5000. example.com Same as HOST:PORT
BASE_PATH Base path for swagger /api/v1 /api/v1
URLSCAN_API_KEY API key for urlscan.io - -
SAFEBROWSING_API_KEY API key for safebrowsing - -
AUTH_API_KEY API key for server and db endpoints - test_api_key

License

Code

MIT License (see the LICENSE file)

Graphic design

Copyright 2020, Varamthir

Contributors

New features or bugs

Follow templates from here

About

Backend for Team Project classes at 6th semester at Cybersecurity faculty at WUST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published