/auth_microservice_flask

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Welcome to Auth microservice flask 👋

License: GNU GENERAL PUBLIC LICENSE 3

this is a authentication service with Python and Flask

Install

Python >= 3 and docker must be installed on your system then:

export AUTHMAN_DATABASE_URI = mysql+pymysql://root:test@localhost:3306/auth_microsevice_flask

docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=test mysql

or

RUN any sql database with docker. for see all configuration local variable see auth_microservice_flask/config/conig.py to export

pip install -r requirements.txt

flask db init

flask db migrate

flask run

or you can run it by docker

finally open localhost:5000/api/v1 on your browser

Author

👤 khalil farashiani

Show your support

Give a ⭐️ if this project helped you!