U
    ŷi                     @   s^  d dl mZmZ d dlmZ d dlmZ d dlmZm	Z	m
Z
mZmZmZmZmZ d dlmZ edddd	Zejed
gddgdgd eej eej eje	jeegd eje
jeegd ejejeegd ejejeegd ejejeegd ejejeegd ejejeegd eddd Zeddd ZdS )    )FastAPIDepends)CORSMiddleware)get_current_user)auth	companies	employeessalaryloansbenefitspayroll	portfolio)portfolio_fileszPersona APIz1.0.0zPersonal management system)titleversiondescriptionzhttp://localhost:8003T*)Zallow_originsZallow_credentialsZallow_methodsZallow_headers)Zdependencies/c                   C   s
   dddS )NzPersona Payroll APIiB  )messageport r   r   r   //var/www/html/me.goteku.com/backend/app/main.pyroot#   s    r   z/api/healthc                   C   s   ddiS )Nstatusokr   r   r   r   r   health(   s    r   N)Zfastapir   r   Zfastapi.middleware.corsr   Zapp.core.securityr   Z
app.routesr   r   r   r	   r
   r   r   r   r   appZadd_middlewareZinclude_routerZroutergetr   r   r   r   r   r   <module>   s:   (	
