- 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
- (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/
Url | Params | Type |
---|---|---|
/api/valid | ktp | Files |
/api/extract_ktp | ktp | Files |
/api/match | ktp,nik | Files, Integer |