Download zip Select Archive Format
Name Last Update history
File empty ..
File dir k2auth Loading commit data...
File txt .gitignore Loading commit data...
File txt README.md Loading commit data...
File txt __init__.py Loading commit data...
File txt reguirments-components.txt Loading commit data...
File txt requirements.txt Loading commit data...
File txt setup.py Loading commit data...

README.md

main.py

from components.adm.adm.views import adm from components.test.test.views import test

app.register_blueprint(adm, url_prefix='/adm')

cd components/adm pip install -r requirements.txt

endpoint "http://127.0.0.1:5000/adm/register" dictionary to register in such way { "login": "xxx", "password": "xxx", "name": "xxx", "email": "xxx" }

endpoint "http://127.0.0.1:5000/adm/login" dictionary to login in such way { "login":"xxx", "password":"xxx" }

endpoint http://127.0.0.1:5000/adm/changePassword dictionary to changePassword in such way { "old_password":"xxx", "new_password": "xxx", "re_new_password": "xxx" } endpoint http://127.0.0.1:5000/adm/newUser { "login": "xxx", "password": "xxx", "name": "xxx", "email": "xxx", "phone": "xxx", "repassword": "xxx"

}