U
    d                     @   s   d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d	d
ddddiZeddddddddedd
Ze	 Zdd ZdS )    )Flask)Mail)Api)PyMongo)
JWTManager)Config)auth_namespace)health_namespacezBearer TokenZapiKeyheaderAuthorizationzWType in the *'Value'* input box below: **'Bearer &lt;JWT&gt;'**, where JWT is the token)typeinnamedescriptionzAuth Service APIzAuthentication APIz1.0z/terms/zMIT Licensez	/license/zSanoaMedia Solutionzsanoa_media@gmail.comz/api/v1/)
titler   versionZ	terms_urllicenseZlicense_urlZcontactZcontact_emailauthorizationsprefixc                  C   sH   t t} | jt t|  t| }t|  t	t
 t	t | S )N)r   __name__configfrom_objectr   jwtZinit_appr   apiZadd_namespacer   r	   )appZmail r   4/var/www/html/media_planing_auth/src/app/__init__.py
create_app,   s    



r   N)flaskr   Z
flask_mailr   Zflask_restxr   Zflask_pymongor   Zflask_jwt_extendedr   Z
app.configr   Zapp.routes.api.v1.authr   Zapp.routes.api.healthr	   r   r   r   r   r   r   r   r   <module>   s8   
