flask-restful-login
Flask restful service consists of register, login, logout, reset password and some data routes. It includes a few example routes based on user, admin, or super admin access.
파일 탐색기
최종 버전 다운로드 (.zip)- __init__.py
- auth.py
- config.py
- routes.py
- __init__.py
- database.py
- __init__.py
- db_initializer.py
- __init__.py
- errors.py
- __init__.py
- UserHandlers.py
- __init__.py
- models.py
- __init__.py
- role_required.py
- __init__.py
- schemas.py
- __init__.py
- base.py
- tests_index.py
- tests_login.py
- tests_register.py
- __init__.py
- .gitignore
- LICENCE
- main.py
- README.md
- requirements.txt
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/melihcolpan/flask-restful-login
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd flask-restful-login
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
python -m venv venv
파이썬 스크립트(또는 모듈)를 실행합니다.
pip install -r requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python -m unittest discover -s api/tests -p "tests_*.py"
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
