Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 738 Bytes

README.md

File metadata and controls

43 lines (33 loc) · 738 Bytes

KTP Validation Image

Installation

  • Clone the Repo
  • Create the environment first
python -m venv env
  • Activate the environment
env\Scripts\activate.bat
  • Install all library needed to environment by using command
pip install -r requirements.txt

Usage

  • (For Windows) set the flask app
set FLASK_APP=app.py
  • Start server with command:
python -m flask run

Then open http://127.0.0.1:5000/

API

Url Params Type
/api/valid ktp Files
/api/extract_ktp ktp Files
/api/match ktp,nik Files, Integer

Develop By Muhammad Zakir Ramadhan